public class DecisionTreeClassificationTrainer extends Object
| Constructor and Description |
|---|
DecisionTreeClassificationTrainer(int maxDeep,
double minImpurityDecrease)
Constructs a new decision tree classifier with default impurity function compressor.
|
DecisionTreeClassificationTrainer(int maxDeep,
double minImpurityDecrease,
StepFunctionCompressor<GiniImpurityMeasure> compressor)
Constructs a new instance of decision tree classifier.
|
| 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 DecisionTreeClassificationTrainer(int maxDeep,
double minImpurityDecrease)
maxDeep - Max tree deep.minImpurityDecrease - Min impurity decrease.public DecisionTreeClassificationTrainer(int maxDeep,
double minImpurityDecrease,
StepFunctionCompressor<GiniImpurityMeasure> 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.6.0 Release Date : July 10 2018