@staticmethod
def _load_data(data_type, file_path):
    ' Load Data\n\n        Load data from file.\n\n        Parameters\n        ----------\n        data_type : str\n            Type of feature to be loaded\n        file_path : str\n            File path\n\n        '
    file_name = '{}_{}.npy'.format(file_path, data_type)
    if os.path.isfile(file_name):
        return np.load(file_name)
    else:
        raise IOError('{} not found'.format(file_name))
Load Data

Load data from file.

Parameters
----------
data_type : str
    Type of feature to be loaded
file_path : str
    File path
@staticmethod
def _load_data(data_type, file_path):
    ' Load Data\n\n        Load data from file.\n\n        Parameters\n        ----------\n        data_type : str\n            Type of feature to be loaded\n        file_path : str\n            File path\n\n        '
    file_name = '{}_{}.npy'.format(file_path, data_type)
    if os.path.isfile(file_name):
        return np.load(file_name)
    else:
        raise IOError('{} not found'.format(file_name))