diff --git a/scikits/learn/datasets/mlcomp.py b/scikits/learn/datasets/mlcomp.py index f6a79eb8f94a1a7a690bf457e94efe0d5b89b655..42a0deb8ebd3d2e77b5c3c4dfe8edfb74d800d44 100644 --- a/scikits/learn/datasets/mlcomp.py +++ b/scikits/learn/datasets/mlcomp.py @@ -37,7 +37,7 @@ LOADERS = { } -def load_mlcomp(name_or_id, mlcomp_root=None, set_="raw", **kwargs): +def load_mlcomp(name_or_id, set_="raw", mlcomp_root=None, **kwargs): """Load a datasets as downloaded from http://mlcomp.org Parameters @@ -46,12 +46,12 @@ def load_mlcomp(name_or_id, mlcomp_root=None, set_="raw", **kwargs): name_or_id : the integer id or the string name metadata of the MLComp dataset to load + set_ : select the portion to load: 'train', 'test' or 'raw' + mlcomp_root : the filesystem path to the root folder where MLComp datasets are stored, if mlcomp_root is None, the MLCOMP_DATASETS_HOME environment variable is looked up instead. - set_ : select the portion to load: 'train', 'test' or 'raw' - **kwargs : domain specific kwargs to be passed to the dataset loader. Returns