Package sklearn.svm
Class OneClassSVM
- 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
-
- sklearn.SkLearnRegressor
-
- sklearn.svm.LibSVMRegressor
-
- sklearn.svm.OneClassSVM
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>,org.jpmml.converter.HasOptions,Encodable,HasSkLearnOptions,HasDecisionFunctionField,HasFeatureNamesIn,HasNumberOfFeatures,HasNumberOfOutputs,HasOutlierField,HasType,OutlierDetector,HasPMMLOptions<Estimator>,HasPMMLSegmentId<Estimator>
public class OneClassSVM extends LibSVMRegressor implements OutlierDetector
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.String>ENUM_KERNELstatic java.lang.StringKERNEL_LINEARstatic java.lang.StringKERNEL_POLYstatic java.lang.StringKERNEL_RBFstatic java.lang.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
-
Fields inherited from interface sklearn.OutlierDetector
FIELD_OUTLIER
-
-
Constructor Summary
Constructors Constructor Description OneClassSVM(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.support_vector_machine.SupportVectorMachineModelencodeModel(org.jpmml.converter.Schema schema)intgetNumberOfOutputs()booleanisSupervised()-
Methods inherited from class sklearn.svm.LibSVMRegressor
getCoef0, getDegree, getDualCoef, getGamma, getIntercept, getKernel, getNumberOfFeatures, getSupport, getSupportVectors, getSupportVectorsShape
-
Methods inherited from class sklearn.SkLearnRegressor
encodePMML
-
Methods inherited from class sklearn.Regressor
getMiningFunction
-
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 interface sklearn.HasDecisionFunctionField
getDecisionFunctionField
-
Methods inherited from interface sklearn.HasFeatureNamesIn
getFeatureNamesIn
-
Methods inherited from interface sklearn.HasOutlierField
getOutlierField
-
Methods inherited from interface sklearn.OutlierDetector
getDecisionFunctionThreshold
-
-
-
-
Field Detail
-
KERNEL_LINEAR
public static final java.lang.String KERNEL_LINEAR
- See Also:
- Constant Field Values
-
KERNEL_POLY
public static final java.lang.String KERNEL_POLY
- See Also:
- Constant Field Values
-
KERNEL_RBF
public static final java.lang.String KERNEL_RBF
- See Also:
- Constant Field Values
-
KERNEL_SIGMOID
public static final java.lang.String KERNEL_SIGMOID
- See Also:
- Constant Field Values
-
ENUM_KERNEL
public static final java.util.List<java.lang.String> ENUM_KERNEL
-
-
Method Detail
-
getNumberOfOutputs
public int getNumberOfOutputs()
- Specified by:
getNumberOfOutputsin interfaceHasNumberOfOutputs- Overrides:
getNumberOfOutputsin classRegressor
-
isSupervised
public boolean isSupervised()
- Overrides:
isSupervisedin classRegressor
-
encodeLabel
public org.jpmml.converter.Label encodeLabel(java.util.List<java.lang.String> names, SkLearnEncoder encoder)- Overrides:
encodeLabelin classRegressor
-
encodeModel
public org.dmg.pmml.support_vector_machine.SupportVectorMachineModel encodeModel(org.jpmml.converter.Schema schema)
- Overrides:
encodeModelin classLibSVMRegressor
-
-