Expand description
Attribute-Relation File Format (ARFF) files from Weka (SciPy’s io.arff.loadarff).
An ARFF file is text: @relation name, one @attribute name type line per column (numeric,
real, integer, a nominal set {a, b, c}, string or date), then @data and one
comma-separated row per instance, ? marking a missing value. Comments start with %.
See the book entry Scientific data files.
Structs§
- Arff
- The contents of an ARFF file.
Enums§
Functions§
- arff_
decode - Parses an ARFF file (SciPy’s
loadarff, which additionally rejects string attributes). Numeric values aref64, with missing values NaN; nominal values are checked against their declared set. - arff_
encode - Writes an ARFF file (a dense data section; SciPy has no writer).
- read_
arff_ file - Reads an ARFF file.