new RandomForestModel(algo, trees)
Parameters:
Name | Type | Description |
---|---|---|
algo |
Algo | |
trees |
Array.<DecisionTreeModel> |
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. |
Returns:
A Promise that resolves to nothing.
- Type
- Promise.<Void>