# HG changeset patch # User James Bergstra # Date 1288978147 14400 # Node ID ba8a32b71356fe67a43417c6083bfe4b55f65d1c # Parent be3030305d4b170c4041d3be651e82c5c0269e37 icml07 - added comment diff -r be3030305d4b -r ba8a32b71356 pylearn/datasets/icml07.py --- 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):