public class RandomForestRegressionTrainer extends RandomForestTrainer<MeanValueStatistic,MSEHistogram,RandomForestRegressionTrainer>
DatasetTrainer.EmptyDatasetException
environment
Constructor and Description |
---|
RandomForestRegressionTrainer(List<FeatureMeta> meta)
Constructs an instance of RandomForestRegressionTrainer.
|
Modifier and Type | Method and Description |
---|---|
protected ModelsComposition |
buildComposition(List<TreeRoot> models)
Returns composition of built trees.
|
protected ImpurityHistogramsComputer<MSEHistogram> |
createImpurityHistogramsComputer()
Creates an instance of Histograms Computer corresponding to RF implementation.
|
protected LeafValuesComputer<MeanValueStatistic> |
createLeafStatisticsAggregator()
Creates an instance of Leaf Statistics Aggregator corresponding to RF implementation.
|
protected RandomForestRegressionTrainer |
instance() |
checkState, fit, init, initTrees, updateModel, withAmountOfTrees, withFeaturesCountSelectionStrgy, withMaxDepth, withMinImpurityDelta, withNodesToLearnSelectionStrgy, withSeed, withSubSampleSize
fit, fit, fit, fit, getLastTrainedModelOrThrowEmptyDatasetException, setEnvironment, update, update, update, update, update
public RandomForestRegressionTrainer(List<FeatureMeta> meta)
meta
- Features meta.protected RandomForestRegressionTrainer instance()
instance
in class RandomForestTrainer<MeanValueStatistic,MSEHistogram,RandomForestRegressionTrainer>
protected ModelsComposition buildComposition(List<TreeRoot> models)
buildComposition
in class RandomForestTrainer<MeanValueStatistic,MSEHistogram,RandomForestRegressionTrainer>
models
- Models.protected ImpurityHistogramsComputer<MSEHistogram> createImpurityHistogramsComputer()
createImpurityHistogramsComputer
in class RandomForestTrainer<MeanValueStatistic,MSEHistogram,RandomForestRegressionTrainer>
protected LeafValuesComputer<MeanValueStatistic> createLeafStatisticsAggregator()
createLeafStatisticsAggregator
in class RandomForestTrainer<MeanValueStatistic,MSEHistogram,RandomForestRegressionTrainer>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019