Icon

Chapter_​2_​Example_​for_​Learning_​a_​Decision_​Tree

Decision Tree

After the data is partitioned into train and test set, a decision tree model is trained and applied.

Decision Tree A simple example using a decision tree learner andpredictor to classify some credit score data. For morebackground information on the dataset see https://www.kaggle.com/c/GiveMeSomeCreditSettings to approximate a C4.5 treeNote: The accuracy may differ because of partitioningand the equal size sampling. color by classscore resultssplit training set from test dataappend color to test datause decision tree to predict classesbuild decision treecredit databalance the target Color Manager Scorer (deprecated) Partitioning Color Appender Decision TreePredictor DecisionTree Learner Excel Reader Equal Size Sampling Decision Tree A simple example using a decision tree learner andpredictor to classify some credit score data. For morebackground information on the dataset see https://www.kaggle.com/c/GiveMeSomeCreditSettings to approximate a C4.5 treeNote: The accuracy may differ because of partitioningand the equal size sampling. color by classscore resultssplit training set from test dataappend color to test datause decision tree to predict classesbuild decision treecredit databalance the targetColor Manager Scorer (deprecated) Partitioning Color Appender Decision TreePredictor DecisionTree Learner Excel Reader Equal Size Sampling

Nodes

Extensions

Links