Icon

09_Random_Forest

Training a Decision Tree
Annotations and comments
  • Decision Tree and Random Forest of Decision Trees Training a decision tree and training a random forest of decision trees. Adult.csv dataset describes US census information. Output class is sex.
  • One decision tree to predict feature sex on the adult dataset
  • A random forest of 50 decision trees to predict feature sex on the adult dataset
  • Optional Export into PMML
  • 1 dec tree min. node size = 2
  • Read the dataset
  • 80% for training 20 % for testing
  • 50 dec trees min node size = 2

Nodes

Extensions

Links