From c9f1b6198d4a801b9d5dcea54954cd553341f924 Mon Sep 17 00:00:00 2001
From: Olivier Grisel <olivier.grisel@ensta.org>
Date: Sun, 4 Jul 2010 20:21:36 +0200
Subject: [PATCH] better parameter ordering

---
 scikits/learn/datasets/mlcomp.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scikits/learn/datasets/mlcomp.py b/scikits/learn/datasets/mlcomp.py
index f6a79eb8f9..42a0deb8eb 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
-- 
GitLab