@@ -99,7 +99,7 @@ from the repository using the function
99
99
For example, to download a dataset of gene expressions in mice brains::
100
100
101
101
>>> from sklearn.datasets import fetch_openml
102
- >>> mice = fetch_openml(name='miceprotein', version=4, parser="auto" )
102
+ >>> mice = fetch_openml(name='miceprotein', version=4)
103
103
104
104
To fully specify a dataset, you need to provide a name and a version, though
105
105
the version is optional, see :ref: `openml_versions ` below.
@@ -147,7 +147,7 @@ dataset on the openml website::
147
147
148
148
The ``data_id `` also uniquely identifies a dataset from OpenML::
149
149
150
- >>> mice = fetch_openml(data_id=40966, parser="auto" )
150
+ >>> mice = fetch_openml(data_id=40966)
151
151
>>> mice.details # doctest: +SKIP
152
152
{'id': '4550', 'name': 'MiceProtein', 'version': '1', 'format': 'ARFF',
153
153
'creator': ...,
@@ -171,7 +171,7 @@ which can contain entirely different datasets.
171
171
If a particular version of a dataset has been found to contain significant
172
172
issues, it might be deactivated. Using a name to specify a dataset will yield
173
173
the earliest version of a dataset that is still active. That means that
174
- ``fetch_openml(name="miceprotein", parser="auto" ) `` can yield different results
174
+ ``fetch_openml(name="miceprotein") `` can yield different results
175
175
at different times if earlier versions become inactive.
176
176
You can see that the dataset with ``data_id `` 40966 that we fetched above is
177
177
the first version of the "miceprotein" dataset::
@@ -182,19 +182,19 @@ the first version of the "miceprotein" dataset::
182
182
In fact, this dataset only has one version. The iris dataset on the other hand
183
183
has multiple versions::
184
184
185
- >>> iris = fetch_openml(name="iris", parser="auto" )
185
+ >>> iris = fetch_openml(name="iris")
186
186
>>> iris.details['version'] #doctest: +SKIP
187
187
'1'
188
188
>>> iris.details['id'] #doctest: +SKIP
189
189
'61'
190
190
191
- >>> iris_61 = fetch_openml(data_id=61, parser="auto" )
191
+ >>> iris_61 = fetch_openml(data_id=61)
192
192
>>> iris_61.details['version']
193
193
'1'
194
194
>>> iris_61.details['id']
195
195
'61'
196
196
197
- >>> iris_969 = fetch_openml(data_id=969, parser="auto" )
197
+ >>> iris_969 = fetch_openml(data_id=969)
198
198
>>> iris_969.details['version']
199
199
'3'
200
200
>>> iris_969.details['id']
@@ -212,7 +212,7 @@ binarized version of the data::
212
212
You can also specify both the name and the version, which also uniquely
213
213
identifies the dataset::
214
214
215
- >>> iris_version_3 = fetch_openml(name="iris", version=3, parser="auto" )
215
+ >>> iris_version_3 = fetch_openml(name="iris", version=3)
216
216
>>> iris_version_3.details['version']
217
217
'3'
218
218
>>> iris_version_3.details['id']
0 commit comments