Package sklearn2pmml.ensemble
Class Link
- 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
-
- sklearn2pmml.ensemble.Link
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,HasClasses,HasEstimator<Estimator>,HasNumberOfFeatures,HasNumberOfOutputs,HasType,HasPMMLOptions<Estimator>,HasPMMLSegmentId<Estimator>
public class Link extends Estimator implements HasClasses, HasEstimator<Estimator>
- 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.Estimator
FIELD_APPLY, FIELD_DECISION_FUNCTION, FIELD_PREDICT
-
Fields inherited from interface sklearn.HasNumberOfFeatures
UNKNOWN
-
Fields inherited from interface sklearn.HasNumberOfOutputs
UNKNOWN
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jpmml.converter.SchemaaugmentSchema(org.dmg.pmml.Model model, org.jpmml.converter.Schema schema)voidcheckFeatures(List<? extends org.jpmml.converter.Feature> features)voidcheckLabel(org.jpmml.converter.Label label)org.dmg.pmml.ModelconfigureModel(org.dmg.pmml.Model model)org.jpmml.converter.SchemaconfigureSchema(org.jpmml.converter.Schema schema)org.jpmml.converter.LabelencodeLabel(List<String> names, SkLearnEncoder encoder)org.dmg.pmml.ModelencodeModel(org.jpmml.converter.Schema schema)StringgetAlgorithmName()List<String>getAugmentFuncs()List<?>getClasses()EstimatorgetEstimator()org.dmg.pmml.MiningFunctiongetMiningFunction()booleanhasProbabilityDistribution()booleanisSupervised()-
Methods inherited from class sklearn.Estimator
addFeatureImportances, createApplyField, createMultiApplyField, createPredictProbaFields, encode, encode, encodeApplyOutput, encodeMultiApplyOutput, getClassifierTags, getDataType, getFeatureImportances, getNumberOfFeatures, getNumberOfOutputs, 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
-
-
-
-
Method Detail
-
getMiningFunction
public org.dmg.pmml.MiningFunction getMiningFunction()
- Specified by:
getMiningFunctionin classEstimator
-
isSupervised
public boolean isSupervised()
- Specified by:
isSupervisedin classEstimator
-
getClasses
public List<?> getClasses()
- Specified by:
getClassesin interfaceHasClasses
-
hasProbabilityDistribution
public boolean hasProbabilityDistribution()
- Specified by:
hasProbabilityDistributionin interfaceHasClasses
-
getAlgorithmName
public String getAlgorithmName()
- Overrides:
getAlgorithmNamein classEstimator
-
encodeLabel
public org.jpmml.converter.Label encodeLabel(List<String> names, SkLearnEncoder encoder)
- Specified by:
encodeLabelin classEstimator
-
encodeModel
public org.dmg.pmml.Model encodeModel(org.jpmml.converter.Schema schema)
- Specified by:
encodeModelin classEstimator
-
configureSchema
public org.jpmml.converter.Schema configureSchema(org.jpmml.converter.Schema schema)
- Overrides:
configureSchemain classEstimator
-
configureModel
public org.dmg.pmml.Model configureModel(org.dmg.pmml.Model model)
- Overrides:
configureModelin classEstimator
-
checkLabel
public void checkLabel(org.jpmml.converter.Label label)
- Overrides:
checkLabelin classEstimator
-
checkFeatures
public void checkFeatures(List<? extends org.jpmml.converter.Feature> features)
- Overrides:
checkFeaturesin classEstimator
-
augmentSchema
public org.jpmml.converter.Schema augmentSchema(org.dmg.pmml.Model model, org.jpmml.converter.Schema schema)
-
getEstimator
public Estimator getEstimator()
- Specified by:
getEstimatorin interfaceHasEstimator<Estimator>
-
-