algorithm for the ensemble model, either Classification or Regression
tree ensembles
algorithm for the ensemble model, either Classification or Regression
algorithm for the ensemble model, either Classification or Regression
Current version of model save/load format.
Current version of model save/load format.
Get number of trees in ensemble.
Get number of trees in ensemble.
Java-friendly version of org.apache.spark.mllib.tree.model.TreeEnsembleModel#predict.
Java-friendly version of org.apache.spark.mllib.tree.model.TreeEnsembleModel#predict.
Predict values for the given data set.
Predict values for the given data set.
RDD representing data points to be predicted
RDD[Double] where each entry contains the corresponding prediction
Predict values for a single data point using the model trained.
Predict values for a single data point using the model trained.
array representing a single data point
predicted category from the trained model
Save this model to the given path.
Save this model to the given path.
This saves:
The model may be loaded using Loader.load.
Spark context used to save model data.
Path specifying the directory in which to save this model. If the directory already exists, this method throws an exception.
Print the full model to a string.
Print the full model to a string.
Print a summary of the model.
Print a summary of the model.
Get total number of nodes, summed over all trees in the ensemble.
Get total number of nodes, summed over all trees in the ensemble.
tree ensembles
tree ensembles
:: Experimental :: Represents a random forest model.