Icon

18_​Decision_​Tree

18_Decision_Tree
Exercise Decision Tree1) Read data adult.csv2) Train a Decision Tree to predict whether or not a person earns more than 50k per year- Partition the dataset into a training set (75%) and a test set (25%). Apply stratified sampling option on the income column.- Train a Decision Tree model on the training set, and apply the model to the test setOPTIONAL: - Use the Scorer node to evaluate the accuracy of the model- Try out other parameter settings to get a higher accuracy. For example, change the quality measure, pruning method, orminimum number of records. Exercise Decision Tree1) Read data adult.csv2) Train a Decision Tree to predict whether or not a person earns more than 50k per year- Partition the dataset into a training set (75%) and a test set (25%). Apply stratified sampling option on the income column.- Train a Decision Tree model on the training set, and apply the model to the test setOPTIONAL: - Use the Scorer node to evaluate the accuracy of the model- Try out other parameter settings to get a higher accuracy. For example, change the quality measure, pruning method, orminimum number of records.

Nodes

  • No nodes found

Extensions

  • No modules found

Links