public final class NumericFeature extends Object implements Feature
CategoricalFeature,
Serialized Form| Modifier 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 FeatureFeatureType.NUMERICCopyright © 2014–2018. All rights reserved.