Acoustic Touch Recognition
|
Functions | |
def | get_data_home (data_home=None, subdirectory='') |
def | _download_single_file (data_file_name, target_file_name, base_url) |
def | _get_md5 (file_name) |
def | download_meka (version=None) |
Variables | |
string | SUPPORTED_VERSION = '1.9.2' |
string | SUPPORTED_VERSION_MD5 = 'e909044b39513bbad451b8d71098b22c' |
license removed for brevity.
|
private |
|
private |
def atrlearning.meka.download_meka | ( | version = None | ) |
Downloads a given version of the MEKA library and returns its classpath Parameters ---------- version : str the MEKA version to download, default falls back to currently supported version 1.9.2 Returns ------- string meka class path string for installed version Raises ------ IOError if unpacking the meka release file does not provide a proper setup Exception if MD5 mismatch happens after a download error
def atrlearning.meka.get_data_home | ( | data_home = None , |
|
subdirectory = '' |
|||
) |
Return the path of the scikit-multilearn data dir. This folder is used by some large dataset loaders to avoid downloading the data several times. By default the :code:`data_home` is set to a folder named :code:`'scikit_ml_learn_data'` in the user home folder. Alternatively, it can be set by the :code:`'SCIKIT_ML_LEARN_DATA'` environment variable or programmatically by giving an explicit folder path. The :code:`'~'` symbol is expanded to the user home folder. If the folder does not already exist, it is automatically created. Parameters ---------- data_home : str (default is None) the path to the directory in which scikit-multilearn data sets should be stored, if None the path is generated as stated above subdirectory : str, default '' return path subdirectory under data_home if data_home passed or under default if not passed Returns -------- str the path to the data home
string atrlearning.meka.SUPPORTED_VERSION = '1.9.2' |
string atrlearning.meka.SUPPORTED_VERSION_MD5 = 'e909044b39513bbad451b8d71098b22c' |