Read an arff file.

Parameters :

filename : str

the name of the file

Returns :

data : record array

the data of the arff file. Each record corresponds to one attribute.

meta : MetaData

this contains information about the arff file, like type and names of attributes, the relation (name of the dataset), etc...


This function should be able to read most arff files. Not implemented functionalities include:

  • date type attributes
  • string type attributes

It can read files with numeric and nominal attributes. It can read files with sparse data (? in the file).

Previous topic

Next topic

This Page