How find height and weight from a data set using simple linear regression in Weka?


How to calculate height and weight from a DataSet using simple linear regression.


  Load dataset in weka explorer.

  Preprocess the dataset for replacing Missing values & outliers:

1.Choose -> Weka -> Filter -> Unsupervised ->Attributes -> ReplaceMissingValues.

2.Choose -> Weka -> Filter -> Unsupervised ->Instances -> RemoveWithValues.

  Splitting dataset for Training and Testing Model: Classify Tab -> Choose -> Weka -> Classifier -> Function ->Linear Regression.

Then, click Percentage split mention 80% for Training & remaining for testing.

   Select the variable Height/Weight ,then Click start to find the Value.

Leave Comment

Your email address will not be published. Required fields are marked *

clear formSubmit