Package sklearn2pmml.ensemble
Class EstimatorChain
- 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.EstimatorChain
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,HasClasses,HasEstimatorEnsemble<Estimator>,HasNumberOfFeatures,HasNumberOfOutputs,HasType
public class EstimatorChain extends Estimator implements HasClasses, HasEstimatorEnsemble<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
-
-
Constructor Summary
Constructors Constructor Description EstimatorChain(String module, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dmg.pmml.ModelencodeModel(org.jpmml.converter.Schema schema)List<?>getClasses()List<? extends Estimator>getEstimators()org.dmg.pmml.MiningFunctiongetMiningFunction()BooleangetMultioutput()intgetNumberOfOutputs()List<Object[]>getSteps()booleanisSupervised()-
Methods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, checkLabel, encode, getAlgorithmName, getDataType, getFeatureImportances, getNumberOfFeatures, getOption, getOpType, getPMMLFeatureImportances, getPMMLOptions, getSkLearnVersion, hasFeatureImportances, putOption, putOptions, setPMMLFeatureImportances, setPMMLOptions
-
Methods inherited from class sklearn.Step
createFieldName, createFieldName, createFieldName, getPMMLName, setPMMLName
-
Methods inherited from class org.jpmml.python.PythonObject
get, getArray, getArray, getArray, getArrayShape, getArrayShape, getBoolean, getBooleanArray, getClassName, getDict, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getOptional, getOptionalBoolean, getOptionalObject, getOptionalScalar, getOptionalString, getPythonModule, getPythonName, getPythonObject, getScalar, getString, getTuple, getTupleList, setClassName
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, 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
-
getNumberOfOutputs
public int getNumberOfOutputs()
- Specified by:
getNumberOfOutputsin interfaceHasNumberOfOutputs- Overrides:
getNumberOfOutputsin classEstimator
-
isSupervised
public boolean isSupervised()
- Overrides:
isSupervisedin classEstimator
-
getClasses
public List<?> getClasses()
- Specified by:
getClassesin interfaceHasClasses
-
encodeModel
public org.dmg.pmml.Model encodeModel(org.jpmml.converter.Schema schema)
- Specified by:
encodeModelin classEstimator
-
getEstimators
public List<? extends Estimator> getEstimators()
- Specified by:
getEstimatorsin interfaceHasEstimatorEnsemble<Estimator>
-
getMultioutput
public Boolean getMultioutput()
-
-