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.

Properties

categories
const(string[]) categories [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
type
AttributeType type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta