%Comments
%
%
@RELATION name
%@relation
%@attribute
@ATTRIBUTE AAA NUMERIC
@ATTRIBUTE "BBB" REAL
@ATTRIBUTE CCC NUMERIC
@ATTRIBUTE DDD NUMERIC
@ATTRIBUTE class { type1, type2, type3 }
@DATA
2, 3.20, 4, 5, type1
1, 2.13, 3, 4, type3
you need to make sure that
- nothing is case sensitive
- the header section is prefaced by @RELATION
- each attribute is indicated by @ATTRIBUTE, attribute's name should be one word
- the data section is prefaced by @DATA
- the data is comma separated or use spaces, with the class as the last attribute
- everything should be separated spaces except, no tab is allowed. Or you will get a error when you import the arff file
- lines that begin with a% are comments.