Package com.groiss.ml.ds
Class NumericAttribute<T extends Number>
java.lang.Object
com.groiss.ml.ds.Attribute<T>
com.groiss.ml.ds.NumericAttribute<T>
- Direct Known Subclasses:
DateAttribute
Generic numeric attribute without margins.
Number
or a subclass of
it has to be used with it.-
Constructor Summary
ConstructorDescriptionNumericAttribute
(String name, Class<T> clazz) Creates a newBooleanAttribute
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the values supported by this attribute as ARFF string
-
Constructor Details
-
NumericAttribute
Creates a newBooleanAttribute
.- Parameters:
name
- the attribute's name
-
-
Method Details
-
getARFFValues
Description copied from class:Attribute
Returns the values supported by this attribute as ARFF string- Specified by:
getARFFValues
in classAttribute<T extends Number>
- Returns:
- the supported values as ARFF string
-