mlpy.auxiliary.datasets.DataSet.save

DataSet.save(filename=None)[source]

Save the record to file.

If filename is None, the record is saved to 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.

Notes

If an error occurred during saving, the function fails silently.