public class RandomForestModel extends ModelsComposition<RandomForestTreeModel> implements JSONWritable
models, predictionsAggregator| Constructor and Description |
|---|
RandomForestModel() |
RandomForestModel(List<RandomForestTreeModel> oldModels,
PredictionsAggregator predictionsAggregator) |
| Modifier and Type | Method and Description |
|---|---|
static RandomForestModel |
fromJSON(Path path)
Loads RandomForestModel from JSON file.
|
List<RandomForestTreeModel> |
getModels()
Returns containing models.
|
PredictionsAggregator |
getPredictionsAggregator()
Returns predictions aggregator.
|
void |
toJSON(Path path) |
getDependencies, predict, saveModel, toString, toStringpublic RandomForestModel()
public RandomForestModel(List<RandomForestTreeModel> oldModels, PredictionsAggregator predictionsAggregator)
public PredictionsAggregator getPredictionsAggregator()
getPredictionsAggregator in class ModelsComposition<RandomForestTreeModel>public List<RandomForestTreeModel> getModels()
getModels in class ModelsComposition<RandomForestTreeModel>public void toJSON(Path path)
toJSON in interface JSONWritablepublic static RandomForestModel fromJSON(Path path)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022