Package sklearn
Class Regressor
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- net.razorvine.pickle.objects.ClassDict
-
- org.jpmml.python.PythonObject
-
- sklearn.Step
-
- sklearn.Estimator
-
- sklearn.Regressor
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>,HasNumberOfFeatures,HasNumberOfOutputs,HasType,HasPMMLOptions<Estimator>,HasPMMLSegmentId<Estimator>
- Direct Known Subclasses:
CHAIDRegressor,CompositeRegressor,ExpressionRegressor,GBDTLMRegressor,SelectFirstRegressor,SkLearnRegressor
public abstract class Regressor extends Estimator
- See Also:
- Serialized Form
-
-
Field Summary
-
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 Regressor(java.lang.String module, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jpmml.converter.LabelencodeLabel(java.util.List<java.lang.String> names, SkLearnEncoder encoder)org.dmg.pmml.MiningFunctiongetMiningFunction()intgetNumberOfOutputs()booleanisSupervised()-
Methods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, checkLabel, configureModel, configureSchema, createApplyField, createMultiApplyField, createPredictProbaFields, encode, encode, encodeApplyOutput, encodeModel, encodeMultiApplyOutput, getAlgorithmName, getDataType, getFeatureImportances, getNumberOfFeatures, getOption, getOpType, getPMMLCustomizations, getPMMLFeatureImportances, getPMMLOptions, getPMMLSegmentId, hasFeatureImportances, putOption, putOptions, setPMMLCustomizations, setPMMLFeatureImportances, setPMMLOptions, setPMMLSegmentId
-
Methods inherited from class sklearn.Step
checkSkLearnVersion, checkVersion, getFeatureNamesIn, getPMMLName, getSkLearnVersion, setPMMLName
-
Methods inherited from class org.jpmml.python.PythonObject
containsKey, delattr, get, get, getArray, getArray, getArray, getArrayList, getArrayList, getArrayShape, getArrayShape, getattr, getattr, getBoolean, getBooleanArray, getClassName, getDict, getEnum, getEnumList, getIdentifiable, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getObjectArray, getObjectList, getOptional, getOptionalBoolean, getOptionalBoolean, getOptionalDict, getOptionalEnum, getOptionalIdentifiable, getOptionalInteger, getOptionalNumber, getOptionalObject, getOptionalScalar, getOptionalString, getOptionalTuple, getPythonModule, getPythonName, getScalar, getString, getStringArray, getStringList, getTuple, getTupleList, hasattr, put, putAll, remove, setattr, setClassName, update
-
-
-
-
Method Detail
-
getMiningFunction
public org.dmg.pmml.MiningFunction getMiningFunction()
- Specified by:
getMiningFunctionin classEstimator
-
isSupervised
public boolean isSupervised()
- Specified by:
isSupervisedin classEstimator
-
getNumberOfOutputs
public int getNumberOfOutputs()
- Specified by:
getNumberOfOutputsin interfaceHasNumberOfOutputs- Overrides:
getNumberOfOutputsin classEstimator
-
encodeLabel
public org.jpmml.converter.Label encodeLabel(java.util.List<java.lang.String> names, SkLearnEncoder encoder)- Specified by:
encodeLabelin classEstimator
-
-