Class: RandomForestModel

eclairjs/mllib/tree/model.RandomForestModel

new RandomForestModel(algo, trees)

Parameters:
Name Type Description
algo Algo
trees Array.<DecisionTreeModel>
Source:

Methods

save(sc, path) → {Promise.<Void>}

Parameters:
Name Type Description
sc module:eclairjs.SparkContext Spark context used to save model data.
path string Path specifying the directory in which to save this model. If the directory already exists, this method throws an exception.
Source:
Returns:
A Promise that resolves to nothing.
Type
Promise.<Void>