mlpy.auxiliary.io.save_to_file

mlpy.auxiliary.io.save_to_file(filename, data)[source]

Saves data to file.

The data can be a dictionary or an object’s state and is saved in pickle format.

Parameters:

filename : str

Name of the file to which to save the data to.

data : dict or object

The data to be saved.