Package category_encoders
Class BaseNFeature
- java.lang.Object
-
- org.jpmml.converter.Feature
-
- org.jpmml.converter.ThresholdFeature
-
- org.jpmml.converter.BinaryThresholdFeature
-
- category_encoders.BaseNFeature
-
- All Implemented Interfaces:
org.jpmml.converter.HasDerivedName
public class BaseNFeature extends org.jpmml.converter.BinaryThresholdFeature
-
-
Constructor Summary
Constructors Constructor Description BaseNFeature(org.jpmml.converter.PMMLEncoder encoder, java.lang.String name, org.dmg.pmml.DataType dataType, int base, int index, com.google.common.collect.SetMultimap<java.lang.Integer,?> values, java.lang.Object missingCategory, java.lang.Integer defaultValue)BaseNFeature(org.jpmml.converter.PMMLEncoder encoder, org.dmg.pmml.Field<?> field, int base, int index, com.google.common.collect.SetMultimap<java.lang.Integer,?> values, java.lang.Object missingCategory, java.lang.Integer defaultValue)BaseNFeature(org.jpmml.converter.PMMLEncoder encoder, org.jpmml.converter.Feature feature, int base, int index, com.google.common.collect.SetMultimap<java.lang.Integer,?> values, java.lang.Object missingCategory, java.lang.Integer defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)intgetBase()java.lang.IntegergetDefaultValue()java.lang.StringgetDerivedName()intgetIndex()java.lang.ObjectgetMissingCategory()java.lang.ObjectgetMissingValue()com.google.common.collect.SetMultimap<java.lang.Integer,?>getValues()java.util.Set<?>getValues(java.util.function.Predicate<java.lang.Number> predicate)inthashCode()org.jpmml.converter.ContinuousFeaturetoContinuousFeature()
-
-
-
Constructor Detail
-
BaseNFeature
public BaseNFeature(org.jpmml.converter.PMMLEncoder encoder, org.dmg.pmml.Field<?> field, int base, int index, com.google.common.collect.SetMultimap<java.lang.Integer,?> values, java.lang.Object missingCategory, java.lang.Integer defaultValue)
-
BaseNFeature
public BaseNFeature(org.jpmml.converter.PMMLEncoder encoder, org.jpmml.converter.Feature feature, int base, int index, com.google.common.collect.SetMultimap<java.lang.Integer,?> values, java.lang.Object missingCategory, java.lang.Integer defaultValue)
-
BaseNFeature
public BaseNFeature(org.jpmml.converter.PMMLEncoder encoder, java.lang.String name, org.dmg.pmml.DataType dataType, int base, int index, com.google.common.collect.SetMultimap<java.lang.Integer,?> values, java.lang.Object missingCategory, java.lang.Integer defaultValue)
-
-
Method Detail
-
getDerivedName
public java.lang.String getDerivedName()
-
toContinuousFeature
public org.jpmml.converter.ContinuousFeature toContinuousFeature()
- Specified by:
toContinuousFeaturein classorg.jpmml.converter.Feature
-
getValues
public java.util.Set<?> getValues(java.util.function.Predicate<java.lang.Number> predicate)
- Specified by:
getValuesin classorg.jpmml.converter.ThresholdFeature
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.jpmml.converter.Feature
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classorg.jpmml.converter.Feature
-
getBase
public int getBase()
-
getIndex
public int getIndex()
-
getValues
public com.google.common.collect.SetMultimap<java.lang.Integer,?> getValues()
-
getMissingValue
public java.lang.Object getMissingValue()
- Specified by:
getMissingValuein classorg.jpmml.converter.ThresholdFeature
-
getMissingCategory
public java.lang.Object getMissingCategory()
-
getDefaultValue
public java.lang.Integer getDefaultValue()
-
-