org.apache.spark.examples.mllib
An example runner for decision trees and random forests. Run with
./bin/run-example org.apache.spark.examples.mllib.DecisionTreeRunner [options]
If you use it as a template to create your own app, please use spark-submit to submit your app.
spark-submit
Note: This script treats all features as real-valued (not categorical). To include categorical features, modify categoricalFeaturesInfo.
An example runner for decision trees and random forests. Run with
If you use it as a template to create your own app, please use
spark-submit
to submit your app.Note: This script treats all features as real-valued (not categorical). To include categorical features, modify categoricalFeaturesInfo.