Decision Trees and ensembles can take a large amount of memory. If the run-example command
above fails, try running via spark-submit and specifying the amount of memory as at least 1g.
For local mode, run
./bin/spark-submit --class org.apache.spark.examples.ml.GBTExample --driver-memory 1g
[examples JAR path] [options]
If you use it as a template to create your own app, please use spark-submit to submit your app.
Linear Supertypes
AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
GBTExample
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case classParams(input: String = null, testInput: String = "", dataFormat: String = "libsvm", algo: String = "classification", maxDepth: Int = 5, maxBins: Int = 32, minInstancesPerNode: Int = 1, minInfoGain: Double = 0.0, maxIter: Int = 10, fracTest: Double = 0.2, cacheNodeIds: Boolean = false, checkpointDir: Option[String] = None, checkpointInterval: Int = 10) extends AbstractParams[Params] with Product with Serializable
An example runner for decision trees. Run with
Decision Trees and ensembles can take a large amount of memory. If the run-example command above fails, try running via spark-submit and specifying the amount of memory as at least 1g. For local mode, run
If you use it as a template to create your own app, please use
spark-submit
to submit your app.