First version of dataset caching feature
Updated cache and adapted Mnist dataset to use the cache
Ensure modifications do not violate PEP8 standard
Remove debugging code
Merge branch 'master' of https://github.com/carriepl/pylearn2
Fixed typo
Return filename instead of remote_name when file not cached. Caller can then easily compare provided path to returned value to know if the file was cached.
Updated the comments
Made 0.9 a function argument for check_enough_space
Replace most of safe_mkdir with a call to os.makedirs
PEP8-ize the function names
Defined an instance of LocalDatasetCache in cache.py itself
Updated formatting
Use standardized logger instead of print statements
Moved string_utils.preprocess into try/except in case the PYLEARN2_DATA_PATH environnement variable is not defined
Created class docstring
Added parameter and return sections to method docstrings
Specified expected error in try/except
Added except for NoDataPathError and EnvironmentVariableError
Merge pull request #685 from carriepl/master

Local cache of datasets