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
ConstructorsConstructorDescriptionTermFeature(org.jpmml.converter.PMMLEncoder encoder, org.dmg.pmml.DefineFunction defineFunction, org.jpmml.converter.Feature feature, String value) -
Method Summary
Modifier and TypeMethodDescriptionorg.dmg.pmml.Applybooleanorg.dmg.pmml.DefineFunctionorg.jpmml.converter.FeaturegetValue()inthashCode()org.jpmml.converter.ContinuousFeaturetoWeightedTermFeature(Number weight) Methods inherited from class org.jpmml.converter.Feature
getDataType, getEncoder, getField, getName, ref, toContinuousFeature, toString
-
Constructor Details
-
TermFeature
public TermFeature(org.jpmml.converter.PMMLEncoder encoder, org.dmg.pmml.DefineFunction defineFunction, org.jpmml.converter.Feature feature, String value)
-
-
Method Details
-
toContinuousFeature
public org.jpmml.converter.ContinuousFeature toContinuousFeature()- Specified by:
toContinuousFeaturein classorg.jpmml.converter.Feature
-
toWeightedTermFeature
-
createApply
public org.dmg.pmml.Apply createApply() -
hashCode
public int hashCode()- Overrides:
hashCodein classorg.jpmml.converter.Feature
-
equals
- Overrides:
equalsin classorg.jpmml.converter.Feature
-
getDefineFunction
public org.dmg.pmml.DefineFunction getDefineFunction() -
getFeature
public org.jpmml.converter.Feature getFeature() -
getValue
-