mlpy.auxiliary.io.load_from_file

mlpy.auxiliary.io.load_from_file(filename, import_modules=None)[source]

Load data from file.

Different formats are supported.

Parameters:

filename : str

Name of the file to load data from.

import_modules : str or list

List of modules that may be required by the data that need to be imported.

Returns:

dict or list :

The loaded data. If any errors occur, None is returned.