Class GradientBoostingClassifier
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- net.razorvine.pickle.objects.ClassDict
-
- org.jpmml.python.PythonObject
-
- sklearn.Step
-
- sklearn.Estimator
-
- sklearn.Classifier
-
- sklearn.ensemble.gradient_boosting.GradientBoostingClassifier
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,org.jpmml.converter.HasNativeConfiguration,org.jpmml.converter.HasOptions,HasSkLearnOptions,HasClasses,HasEstimatorEnsemble<TreeRegressor>,HasNumberOfFeatures,HasNumberOfOutputs,HasType,HasTreeOptions
public class GradientBoostingClassifier extends Classifier implements HasEstimatorEnsemble<TreeRegressor>, HasTreeOptions
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
-
Fields inherited from class sklearn.Classifier
FIELD_PROBABILITY
-
Fields inherited from class sklearn.Estimator
FIELD_APPLY, FIELD_DECISION_FUNCTION, FIELD_PREDICT
-
Fields inherited from interface sklearn.HasNumberOfFeatures
UNKNOWN
-
Fields inherited from interface sklearn.HasNumberOfOutputs
UNKNOWN
-
Fields inherited from interface sklearn.tree.HasTreeOptions
OPTION_COMPACT, OPTION_FLAT, OPTION_NODE_EXTENSIONS, OPTION_NODE_ID, OPTION_NODE_SCORE, OPTION_NUMERIC, OPTION_PRUNE, OPTION_WINNER_ID
-
-
Constructor Summary
Constructors Constructor Description GradientBoostingClassifier(String module, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dmg.pmml.mining.MiningModelencodeModel(org.jpmml.converter.Schema schema)org.dmg.pmml.DataTypegetDataType()List<? extends TreeRegressor>getEstimators()HasPriorProbabilitygetInit()NumbergetLearningRate()LossFunctiongetLoss()intgetNumberOfFeatures()-
Methods inherited from class sklearn.Classifier
getClasses, getMiningFunction, hasProbabilityDistribution
-
Methods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, checkLabel, encode, getAlgorithmName, getFeatureImportances, getNumberOfOutputs, getOption, getOpType, getPMMLFeatureImportances, getPMMLOptions, getSkLearnVersion, hasFeatureImportances, isSupervised, putOption, putOptions, setPMMLFeatureImportances, setPMMLOptions
-
Methods inherited from class sklearn.Step
createFieldName, createFieldName, createFieldName, getPMMLName, setPMMLName
-
Methods inherited from class org.jpmml.python.PythonObject
get, getArray, getArray, getArray, getArrayShape, getArrayShape, getBoolean, getBooleanArray, getClassName, getDict, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getOptional, getOptionalBoolean, getOptionalObject, getOptionalScalar, getOptionalString, getPythonModule, getPythonName, getPythonObject, getScalar, getString, getTuple, getTupleList, setClassName
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface sklearn.tree.HasTreeOptions
getNativeConfiguration
-
-
-
-
Method Detail
-
getNumberOfFeatures
public int getNumberOfFeatures()
- Specified by:
getNumberOfFeaturesin interfaceHasNumberOfFeatures- Overrides:
getNumberOfFeaturesin classEstimator
-
getDataType
public org.dmg.pmml.DataType getDataType()
- Specified by:
getDataTypein interfaceHasType- Overrides:
getDataTypein classEstimator
-
encodeModel
public org.dmg.pmml.mining.MiningModel encodeModel(org.jpmml.converter.Schema schema)
- Specified by:
encodeModelin classEstimator
-
getLoss
public LossFunction getLoss()
-
getInit
public HasPriorProbability getInit()
-
getLearningRate
public Number getLearningRate()
-
getEstimators
public List<? extends TreeRegressor> getEstimators()
- Specified by:
getEstimatorsin interfaceHasEstimatorEnsemble<TreeRegressor>
-
-