Class RandomTreesEx2
java.lang.Object
com.imsl.test.example.datamining.decisionTree.RandomTreesEx2
Fits a random forest to Fisher's Iris data using ALACART decision trees.
This example builds a random forest RandomTrees with ALACART decision trees. Classification errors for the Iris data are shown using the out-of-bag predictions. An out-of-bag prediction for an observation is generated by models fitted to bootstrap samples that do not include the observation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RandomTreesEx2
public RandomTreesEx2()
-
-
Method Details
-
main
- Throws:
Exception
-