mlpy.auxiliary.io.is_pickle

mlpy.auxiliary.io.is_pickle(filename)[source]

Check if the file with the given name is pickle encoded.

Parameters:

filename : str

The name of the file to check.

Returns:

bool :

Whether the file is pickle encoded or not.