Package sklearn
Class Classifier
- 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
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,HasClasses,HasNumberOfFeatures,HasNumberOfOutputs,HasType
- Direct Known Subclasses:
CHAIDClassifier,ClassifierChain,DummyClassifier,EnsembleClassifier,ForestClassifier,GaussianNB,GBDTLRClassifier,GradientBoostingClassifier,HistGradientBoostingClassifier,KNeighborsClassifier,LabelEncoderClassifier,LibSVMClassifier,LinearClassifier,MLPClassifier,MultiOutputClassifier,NearestCentroid,OneVsRestClassifier,PipelineClassifier,RuleSetClassifier,SelectFirstClassifier,StackingClassifier,TreeClassifier,VotingClassifier
public abstract class Classifier extends Estimator implements HasClasses
- 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 Modifier and Type Field Description static StringFIELD_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
-
-
Constructor Summary
Constructors Constructor Description Classifier(String module, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>getClasses()org.dmg.pmml.MiningFunctiongetMiningFunction()booleanhasProbabilityDistribution()-
Methods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, checkLabel, encode, encodeModel, getAlgorithmName, getDataType, getFeatureImportances, getNumberOfFeatures, 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
-
-
-
-
Field Detail
-
FIELD_PROBABILITY
public static final String FIELD_PROBABILITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMiningFunction
public org.dmg.pmml.MiningFunction getMiningFunction()
- Specified by:
getMiningFunctionin classEstimator
-
getClasses
public List<?> getClasses()
- Specified by:
getClassesin interfaceHasClasses
-
hasProbabilityDistribution
public boolean hasProbabilityDistribution()
-
-