Package sklearn.linear_model.ridge
Class RidgeClassifier
- 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.SkLearnClassifier
-
- sklearn.linear_model.LinearClassifier
-
- sklearn.linear_model.ridge.RidgeClassifier
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,org.jpmml.converter.HasOptions,Encodable,HasSkLearnOptions,HasClasses,HasFeatureNamesIn,HasMultiDecisionFunctionField,HasNumberOfFeatures,HasNumberOfOutputs,HasType,HasPMMLOptions<Estimator>,HasPMMLSegmentId<Estimator>
public class RidgeClassifier extends LinearClassifier
- 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
-
-
Constructor Summary
Constructors Constructor Description RidgeClassifier(String module, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>getClasses()int[]getCoefShape()LabelBinarizergetLabelBinarizer()booleanhasProbabilityDistribution()-
Methods inherited from class sklearn.linear_model.LinearClassifier
encodeModel, getCoef, getIntercept, getNumberOfFeatures
-
Methods inherited from class sklearn.SkLearnClassifier
encodePMML
-
Methods inherited from class sklearn.Classifier
canonicalizeValue, canonicalizeValues, encodeLabel, encodePredictProbaOutput, getMiningFunction, getNumberOfOutputs, isSupervised
-
Methods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, checkLabel, configureModel, configureSchema, createApplyField, createMultiApplyField, createPredictProbaFields, encode, encode, encodeApplyOutput, encodeMultiApplyOutput, getAlgorithmName, getDataType, getFeatureImportances, 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
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from interface sklearn.HasFeatureNamesIn
getFeatureNamesIn
-
Methods inherited from interface sklearn.HasMultiDecisionFunctionField
getMultiDecisionFunctionField
-
-
-
-
Method Detail
-
getClasses
public List<?> getClasses()
- Specified by:
getClassesin interfaceHasClasses- Overrides:
getClassesin classClassifier
-
hasProbabilityDistribution
public boolean hasProbabilityDistribution()
- Specified by:
hasProbabilityDistributionin interfaceHasClasses- Overrides:
hasProbabilityDistributionin classClassifier
-
getCoefShape
public int[] getCoefShape()
- Overrides:
getCoefShapein classLinearClassifier
-
getLabelBinarizer
public LabelBinarizer getLabelBinarizer()
-
-