public class DecisionTree extends Object implements scala.Serializable, Logging
| Constructor and Description |
|---|
DecisionTree(Strategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
DecisionTreeModel |
train(RDD<LabeledPoint> input)
Method to train a decision tree model over an RDD
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialized, initializeIfNecessary, initializeLogging, initLock, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logTrace, logTrace, logWarning, logWarningpublic DecisionTree(Strategy strategy)
public DecisionTreeModel train(RDD<LabeledPoint> input)
input - RDD of LabeledPoint used as training data