public final class NumericFeature extends Object implements Feature
CategoricalFeature
,
Serialized FormModifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static NumericFeature |
forValue(double value) |
FeatureType |
getFeatureType() |
double |
getValue() |
int |
hashCode() |
String |
toString() |
public static NumericFeature forValue(double value)
value
- value to represent as a featureNumericFeature
representing the given numeric valuepublic double getValue()
public FeatureType getFeatureType()
getFeatureType
in interface Feature
FeatureType.NUMERIC
Copyright © 2014–2018. All rights reserved.