ARFF File Format
Require declarations of @RELATION, @ATTRIBUTE and @DATA
@RELATION declaration associates a name with the dataset
- @RELATION <relation-name>
@ATTRIBUTE declaration specifies the name and type of an attribute
- @attribute <attribute-name> <datatype>
- Datatype can be numeric, nominal, string or date
@ATTRIBUTE sepallength NUMERIC
@ATTRIBUTE petalwidth NUMERIC
@ATTRIBUTE class {Iris-setosa,Iris-versicolor,Iris-virginica}
@DATA declaration is a single line denoting the start of the data segment
- Missing values are represented by ?
@DATA
5.1, 3.5, 1.4, 0.2, Iris-setosa
4.9, ?, 1.4, ?, Iris-versicolor