Icon

01_DecisionTree

Decision Tree

Using the adult dataset, this workflow performs binary classification (income > or < 50K) using a Decision Tree. The target is the income column, either <=50K or <50K, predicted using the other demographic attributes. After partitioning the original dataset into training set and test, the decision tree is builkt on the training set and the final performance is evaluated on the test set using the Scorer node.

Annotations and comments
  • Chapter 8: 01_Decision Tree Binary classification problem (income >50K or <50K), solved using a decision tree
  • Read the adult dataset
  • color by sex
  • Train Decision Tree
  • Perform classification
  • 80% training 20% test stratified sampling
  • Classification performance

Nodes

Extensions

Links