public class DecisionTreeRegressionTrainer extends Object
| Constructor and Description |
|---|
DecisionTreeRegressionTrainer(int maxDeep,
double minImpurityDecrease)
Constructs a new decision tree regressor with default impurity function compressor.
|
DecisionTreeRegressionTrainer(int maxDeep,
double minImpurityDecrease,
StepFunctionCompressor<MSEImpurityMeasure> compressor)
Constructs a new decision tree regressor.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> DecisionTreeNode |
fit(DatasetBuilder<K,V> datasetBuilder,
IgniteBiFunction<K,V,double[]> featureExtractor,
IgniteBiFunction<K,V,Double> lbExtractor)
Trains model based on the specified data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfit, fitpublic DecisionTreeRegressionTrainer(int maxDeep,
double minImpurityDecrease)
maxDeep - Max tree deep.minImpurityDecrease - Min impurity decrease.public DecisionTreeRegressionTrainer(int maxDeep,
double minImpurityDecrease,
StepFunctionCompressor<MSEImpurityMeasure> compressor)
maxDeep - Max tree deep.minImpurityDecrease - Min impurity decrease.public <K,V> DecisionTreeNode fit(DatasetBuilder<K,V> datasetBuilder, IgniteBiFunction<K,V,double[]> featureExtractor, IgniteBiFunction<K,V,Double> lbExtractor)
fit in interface DatasetTrainer<DecisionTreeNode,Double>K - Type of a key in upstream data.V - Type of a value in upstream data.datasetBuilder - Dataset builder.featureExtractor - Feature extractor.lbExtractor - Label extractor.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018