Class NumericAttribute<T extends Number>

java.lang.Object
com.groiss.ml.ds.Attribute<T>
com.groiss.ml.ds.NumericAttribute<T>
Direct Known Subclasses:
DateAttribute

public class NumericAttribute<T extends Number> extends Attribute<T>
Generic numeric attribute without margins. Number or a subclass of it has to be used with it.
  • Constructor Details

    • NumericAttribute

      public NumericAttribute(String name, Class<T> clazz)
      Creates a new BooleanAttribute.
      Parameters:
      name - the attribute's name
  • Method Details

    • getARFFValues

      public String getARFFValues()
      Description copied from class: Attribute
      Returns the values supported by this attribute as ARFF string
      Specified by:
      getARFFValues in class Attribute<T extends Number>
      Returns:
      the supported values as ARFF string