Package sklearn2pmml.preprocessing
Class MultiLookupTransformer
- 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.Transformer
-
- sklearn2pmml.preprocessing.LookupTransformer
-
- sklearn2pmml.preprocessing.MultiLookupTransformer
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,HasNumberOfFeatures,HasType
public class MultiLookupTransformer extends LookupTransformer
- 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 interface sklearn.HasNumberOfFeatures
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description MultiLookupTransformer(String module, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.jpmml.converter.Feature>encodeFeatures(List<org.jpmml.converter.Feature> features, SkLearnEncoder encoder)protected List<String>formatColumns(List<org.jpmml.converter.Feature> features)org.dmg.pmml.DataTypegetDataType()protected Map<String,List<Object>>parseMapping(List<String> inputColumns, String outputColumn, Map<?,?> mapping)-
Methods inherited from class sklearn2pmml.preprocessing.LookupTransformer
getDefaultValue, getMapping, getOpType
-
Methods inherited from class sklearn.Transformer
checkFeatures, encode, getDType, getNumberOfFeatures, getOptionalDType, updateDataField, updateFeatures
-
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
-
getDataType
public org.dmg.pmml.DataType getDataType()
- Specified by:
getDataTypein interfaceHasType- Overrides:
getDataTypein classLookupTransformer
-
encodeFeatures
public List<org.jpmml.converter.Feature> encodeFeatures(List<org.jpmml.converter.Feature> features, SkLearnEncoder encoder)
- Overrides:
encodeFeaturesin classLookupTransformer
-
formatColumns
protected List<String> formatColumns(List<org.jpmml.converter.Feature> features)
- Overrides:
formatColumnsin classLookupTransformer
-
parseMapping
protected Map<String,List<Object>> parseMapping(List<String> inputColumns, String outputColumn, Map<?,?> mapping)
- Overrides:
parseMappingin classLookupTransformer
-
-