Attribute

Contains metadata relating to an attribute in the ARFF file.

Constructors

this
this(string name)

Constructs an Attribute representing a numeric attribute with the given name.

this
this(string name, string[] categories)

Constructs an Attribute representing a nominal attribute with the given name and possible values.

Members

Functions

stringToFloat
float stringToFloat(string category)

For a nominal attribute, returns a floating point value used to represent the given category internally.

Meta