Icon

lab lima

Annotations and comments
  • Visualisation of cluster result
  • Search for 3 clusters
  • Predict if patient is at risk of developing diabetes.
  • Prepare data
  • Read data
  • Split data into training set & test set
  • Training model using training set
  • Making prediction using test set
  • Evaluate model
  • Assign cluster to new data with cluster model created by k- means
  • Predict ice cream sales given days temperature.
  • R^2: Close to 1, tempt explains variation in ice-cream sales well.
  • find row & column
  • Transformation: Diabetes into string bc it is categorical. Integer is for discrete data.
  • load file
  • assign cluster to new data
  • assign colours to different categories (target variable)
  • assign colours to cluster
  • Rename aged to age
  • Split data by colomn
  • To train model using training data set.
  • apply model
  • data back to original range
  • centroids back to original range
  • return data back to original range
  • find median & standard deviation for target
  • Join both dataset using ID
  • r=0.9575
  • SLR model. Target: Sales Include Tempt
  • missing number
  • filter out value
  • normalise data Min:0, Max:1
  • normaliser data
  • Age colomn binning
  • catergorise something add 2 bins & append PUT IN NUMBER
  • Evaluation Reference column: sales, Predicted column: predicted sales.
  • parallel coordinate plot Column selection: Include all
  • split dataset. Relative:80%(train), 20%(test), Draw random, Random seeding: 12345 Have 1 input port, 2 output port
  • Apply training SLR model
  • Suggest positive linear trend
  • scatterplot Column selection to diffarenciate pairs of attributes
  • score results
  • Check for missing values
  • mean, median, standard
  • Mean, max all!!!!
  • Remove vpm from no. of visits/month
  • Convert newly generated coloumn to be integer type.
  • new data
  • perform clustering no cluster: 3, random initialisation, Random seed: 1234

Nodes

Extensions

Links