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, toString
public 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 JSONWritable
public static RandomForestModel fromJSON(Path path)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.12.0 Release Date : January 10 2022