public class RandomForestRegressionTrainer extends RandomForestTrainer<MeanValueStatistic,MSEHistogram,RandomForestRegressionTrainer>
DatasetTrainer.EmptyDatasetException
envBuilder, 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() |
fitWithInitializedDeployingContext, init, initTrees, isUpdateable, updateModel, withAmountOfTrees, withFeaturesCountSelectionStrgy, withMaxDepth, withMinImpurityDelta, withNodesToLearnSelectionStrgy, withSeed, withSubSampleSize
fit, fit, fit, fit, fit, fit, getLastTrainedModelOrThrowEmptyDatasetException, identityTrainer, learningEnvironment, update, update, update, update, update, withConvertedLabels, withEnvironmentBuilder
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>
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024