![]() |
login
webmail
|
||
![]() |
Dataset File Format | ||
|
|
|||
|
|
|||
|
PARF uses a modified ARFF format for the datasets, which is mostly compatible with the original format used by Weka project. In short: The file starts with the relation name, which is followed by the specification of attributes, and finally comes the data block. An attribute specification gives the attribute its name, and possible values (either numeric, string, or a set of categories in curly braces). Wherever a value contains a space, it must be quoted. Example:
% this is an example parf arff file
@relation test
@attribute name string
@attribute height numeric
@attribute sex { male, female }
@attribute "marital status" { married (6) "not married" divorced widowed (1.2) }
@data
"Anne Appleby", 162, female, married
"Bob Barnes" 181.5 male "not married"
'Charlie Coombs', 175, ?, divorced
"Dan D'Angelo", ?, male, widowed
"Ellen Ellis", 167.5, "female", "widowed"
"Francis Ford", &
165, female, married
"George Gorsky", ?, ?, ?
?, 200, male, ?
Iris, 159, female, ?
Notable differences from ARFF:
| |
|
© 2003-2009 Ruđer Bošković Institute || last changed: 09/23/2005 05:11 pm (Goran Topić) Optimized for: Internet Explorer and Mozilla Firefox. | |