Package org.jpmml.sparkml
Class TermFeature
- java.lang.Object
-
- org.jpmml.converter.Feature
-
- org.jpmml.sparkml.TermFeature
-
- Direct Known Subclasses:
WeightedTermFeature
public class TermFeature extends org.jpmml.converter.Feature
-
-
Constructor Summary
Constructors Constructor Description TermFeature(org.jpmml.converter.PMMLEncoder encoder, org.dmg.pmml.DefineFunction defineFunction, org.jpmml.converter.Feature feature, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dmg.pmml.ApplycreateApply()booleanequals(Object object)org.dmg.pmml.DefineFunctiongetDefineFunction()org.jpmml.converter.FeaturegetFeature()StringgetValue()inthashCode()org.jpmml.converter.ContinuousFeaturetoContinuousFeature()protected org.jpmml.model.ToStringHelpertoStringHelper()WeightedTermFeaturetoWeightedTermFeature(Number weight)
-
-
-
Constructor Detail
-
TermFeature
public TermFeature(org.jpmml.converter.PMMLEncoder encoder, org.dmg.pmml.DefineFunction defineFunction, org.jpmml.converter.Feature feature, String value)
-
-
Method Detail
-
toContinuousFeature
public org.jpmml.converter.ContinuousFeature toContinuousFeature()
- Specified by:
toContinuousFeaturein classorg.jpmml.converter.Feature
-
toWeightedTermFeature
public WeightedTermFeature toWeightedTermFeature(Number weight)
-
createApply
public org.dmg.pmml.Apply createApply()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.jpmml.converter.Feature
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classorg.jpmml.converter.Feature
-
toStringHelper
protected org.jpmml.model.ToStringHelper toStringHelper()
- Overrides:
toStringHelperin classorg.jpmml.converter.Feature
-
getDefineFunction
public org.dmg.pmml.DefineFunction getDefineFunction()
-
getFeature
public org.jpmml.converter.Feature getFeature()
-
getValue
public String getValue()
-
-