You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`mldata.org <http://mldata.org>`_ is a public repository for machine learning
371
-
data, supported by the `PASCAL network <http://www.pascal-network.org>`_ .
372
-
373
-
The ``sklearn.datasets`` package is able to directly download data
374
-
sets from the repository using the function
375
-
:func:`sklearn.datasets.fetch_mldata`.
376
-
377
-
For example, to download the MNIST digit recognition database::
Data sets in `mldata.org <http://mldata.org>`_ do not adhere to a strict
400
-
naming or formatting convention. :func:`sklearn.datasets.fetch_mldata` is
401
-
able to make sense of the most common cases, but allows to tailor the
402
-
defaults to individual datasets:
403
-
404
-
* The data arrays in `mldata.org <http://mldata.org>`_ are most often
405
-
shaped as ``(n_features, n_samples)``. This is the opposite of the
406
-
``scikit-learn`` convention, so :func:`sklearn.datasets.fetch_mldata`
407
-
transposes the matrix by default. The ``transpose_data`` keyword controls
* For datasets with multiple columns, :func:`sklearn.datasets.fetch_mldata`
419
-
tries to identify the target and data columns and rename them to ``target``
420
-
and ``data``. This is done by looking for arrays named ``label`` and
421
-
``data`` in the dataset, and failing that by choosing the first array to be
422
-
``target`` and the second to be ``data``. This behavior can be changed with
423
-
the ``target_name`` and ``data_name`` keywords, setting them to a specific
424
-
name or index number (the name and order of the columns in the datasets
425
-
can be found at its `mldata.org <http://mldata.org>`_ under the tab "Data"::
"""Load MNIST, select two classes, shuffle and return only n_samples."""
61
-
mnist=fetch_mldata('MNIST original')
61
+
# Load data from http://openml.org/d/554
0 commit comments