Package org.jpmml.sparkml
Class WeightedTermFeature
- java.lang.Object
-
- org.jpmml.converter.Feature
-
- org.jpmml.sparkml.TermFeature
-
- org.jpmml.sparkml.WeightedTermFeature
-
public class WeightedTermFeature extends TermFeature
-
-
Constructor Summary
Constructors Constructor Description WeightedTermFeature(org.jpmml.converter.PMMLEncoder encoder, org.dmg.pmml.DefineFunction defineFunction, org.jpmml.converter.Feature feature, String value, Number weight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dmg.pmml.ApplycreateApply()booleanequals(Object object)NumbergetWeight()inthashCode()-
Methods inherited from class org.jpmml.sparkml.TermFeature
getDefineFunction, getFeature, getValue, toContinuousFeature, toWeightedTermFeature
-
-
-
-
Method Detail
-
createApply
public org.dmg.pmml.Apply createApply()
- Overrides:
createApplyin classTermFeature
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTermFeature
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classTermFeature
-
getWeight
public Number getWeight()
-
-