How find a Gender with height & weight from a data set using logistic regression in Weka?


How to find a gender with height and weight from a DataSet using logistic 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 ->Logistic.

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

  Select the variable Gender ,then Click start to find the Value.

Leave Comment

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

clear formSubmit