Question: Just like the PlayTennis dataset, the features are binary - valued but note that some features have missing values for some rows ( instances )
Just like the PlayTennis dataset, the features are binaryvalued but note that some features have missing values for some rows instances You need to decide how you will handle them. There are three possibilities here: i discard instances that have missing feature values, ii treat missing as if it is a value and thus a binary feature becomes a ternary, or threevalued, feature iii impute missing values ie for each feature, replace missing values with the most common value for that feature so that they are no longer missing or unknown. If you read the notes file, it explains why some values are missing and what they mean. Implement a decision tree and Nave Bayes classifier for classification, with each of the above three ways of dealing with missing values. So you are experimenting with scenarios. Perform fold cross validation and report precision, recall, and Fscores for each of the scenarios. points For what type of dataset would you choose decision trees as a classifier over Naive Bayes? Vice versa?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
