mlpy.auxiliary.datasets.DataSet.load

DataSet.load(filename=None)[source]

Load the records from file.

If filename is None, the record is loaded from the class variable filename.

Parameters:

filename : str

The name of the file.

Raises:

ValueError

If no filename is passed to the function and the member variable filename is None

IOError

If a file with the name does not exist.