Package org.jpmml.xgboost
Class FeatureMap.CategoricalEntry
- java.lang.Object
-
- org.jpmml.xgboost.FeatureMap.Entry
-
- org.jpmml.xgboost.FeatureMap.CategoricalEntry
-
- Enclosing class:
- FeatureMap
public static class FeatureMap.CategoricalEntry extends FeatureMap.Entry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jpmml.xgboost.FeatureMap.Entry
FeatureMap.Entry.Type
-
-
Constructor Summary
Constructors Constructor Description CategoricalEntry(String name, FeatureMap.Entry.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jpmml.converter.FeatureencodeFeature(Learner learner, int index, org.jpmml.converter.PMMLEncoder encoder)List<?>getValues()-
Methods inherited from class org.jpmml.xgboost.FeatureMap.Entry
getName, getType
-
-
-
-
Constructor Detail
-
CategoricalEntry
public CategoricalEntry(String name, FeatureMap.Entry.Type type)
-
-
Method Detail
-
encodeFeature
public org.jpmml.converter.Feature encodeFeature(Learner learner, int index, org.jpmml.converter.PMMLEncoder encoder)
- Specified by:
encodeFeaturein classFeatureMap.Entry
-
getValues
public List<?> getValues()
-
-