Mercurial > pylearn
changeset 1355:ba8a32b71356
icml07 - added comment
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Fri, 05 Nov 2010 13:29:07 -0400 |
parents | be3030305d4b |
children | 26644a775a0d |
files | pylearn/datasets/icml07.py |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pylearn/datasets/icml07.py Wed Nov 03 12:58:04 2010 -0400 +++ b/pylearn/datasets/icml07.py Fri Nov 05 13:29:07 2010 -0400 @@ -6,6 +6,14 @@ from pylearn.io.amat import AMat class DatasetLoader(object): + """ + A class for loading an ICML07 dataset into memory. + + The class has functionality to + - download the dataset from the internet (in amat format) + - convert the dataset from amat format to npy format + - load the dataset from either amat or npy source files + """ def __init__(self, http_source, n_inputs, n_classes, n_train, n_valid, n_test, @@ -19,6 +27,7 @@ del self.__dict__['self'] def download(self, todir): + #TODO: write a system call to wget to dl the file from self.http_source raise NotImplementedError() def load_from_amat(self):