Package sklearn.kernel_ridge
Class KernelRidge
- 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.Regressor
-
- sklearn.SkLearnRegressor
-
- sklearn.kernel_ridge.KernelRidge
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,org.jpmml.converter.HasOptions,Encodable,HasSkLearnOptions,HasFeatureNamesIn,HasNumberOfFeatures,HasNumberOfOutputs,HasType,HasLibSVMKernel,HasPMMLOptions<Estimator>,HasPMMLSegmentId<Estimator>
public class KernelRidge extends SkLearnRegressor implements HasLibSVMKernel
- 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 List<String>ENUM_KERNELstatic StringKERNEL_LINEARstatic StringKERNEL_POLYstatic StringKERNEL_RBFstatic StringKERNEL_SIGMOID-
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 KernelRidge(String module, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dmg.pmml.support_vector_machine.SupportVectorMachineModelencodeModel(org.jpmml.converter.Schema schema)NumbergetCoef0()IntegergetDegree()List<Number>getDualCoef()NumbergetGamma()StringgetKernel()List<Number>getXFit()-
Methods inherited from class sklearn.SkLearnRegressor
encodePMML
-
Methods inherited from class sklearn.Regressor
encodeLabel, getMiningFunction, getNumberOfOutputs, isSupervised
-
Methods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, checkLabel, configureModel, configureSchema, createApplyField, createMultiApplyField, createPredictProbaFields, encode, encode, encodeApplyOutput, encodeMultiApplyOutput, getAlgorithmName, getClassifierTags, getDataType, getFeatureImportances, getNumberOfFeatures, getOption, getOpType, getPMMLCustomizations, getPMMLFeatureImportances, getPMMLOptions, getPMMLSegmentId, getRegressorTags, getTargetTags, hasFeatureImportances, putOption, putOptions, setPMMLCustomizations, setPMMLFeatureImportances, setPMMLOptions, setPMMLSegmentId
-
Methods inherited from class sklearn.Step
checkSkLearnVersion, checkVersion, getFeatureNamesIn, getInputTags, getPMMLName, getSkLearnTags, 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
-
-
-
-
Field Detail
-
KERNEL_LINEAR
public static final String KERNEL_LINEAR
- See Also:
- Constant Field Values
-
KERNEL_POLY
public static final String KERNEL_POLY
- See Also:
- Constant Field Values
-
KERNEL_RBF
public static final String KERNEL_RBF
- See Also:
- Constant Field Values
-
KERNEL_SIGMOID
public static final String KERNEL_SIGMOID
- See Also:
- Constant Field Values
-
-
Method Detail
-
encodeModel
public org.dmg.pmml.support_vector_machine.SupportVectorMachineModel encodeModel(org.jpmml.converter.Schema schema)
- Specified by:
encodeModelin classEstimator
-
getKernel
public String getKernel()
- Specified by:
getKernelin interfaceHasLibSVMKernel
-
getDegree
public Integer getDegree()
- Specified by:
getDegreein interfaceHasLibSVMKernel
-
getGamma
public Number getGamma()
- Specified by:
getGammain interfaceHasLibSVMKernel
-
getCoef0
public Number getCoef0()
- Specified by:
getCoef0in interfaceHasLibSVMKernel
-
-