Introduction
ARFF is the native text dataset format of the Weka machine learning software. It is
like CSV with a header that describes the
columns. Files use the extension .arff.
Structure
The header names the dataset with @RELATION and declares each column with
@ATTRIBUTE and a data type. The rows follow @DATA as
comma-separated values. A line starting with % is a comment, and
? stands for a missing value. There is also a sparse form of the data
rows, written in braces as pairs of attribute number and value.
Not described
This page is a first outline.
Known, not yet covered
- Reference: the data types, date formats, quoting rules and instance weights.
- Viewer: the site has no viewer for this format.
Links
Software
- Weka – machine learning workbench from the University of Waikato
Reference
- ARFF (stable version) – the Weka wiki’s description of the format
- Weka ARFF instructions – Rhodes College course notes