Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 176c9ce

Browse filesBrowse files
committed
DOC no more mention of the Bunch in the narrative docs
1 parent 7ead6c9 commit 176c9ce
Copy full SHA for 176c9ce

File tree

2 files changed

+7
-6
lines changed
Filter options

2 files changed

+7
-6
lines changed

‎doc/datasets/covtype.rst

Copy file name to clipboardExpand all lines: doc/datasets/covtype.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Some of the features are boolean indicators,
1414
while others are discrete or continuous measurements.
1515

1616
``sklearn.datasets.fetch_covtype`` will load the covertype dataset;
17-
it returns a ``Bunch`` object with the feature matrix in the ``data`` member
17+
it returns a dictionary-like object
18+
with the feature matrix in the ``data`` member
1819
and the target values in ``target``.
1920
The dataset will be downloaded from the web if necessary.

‎doc/datasets/index.rst

Copy file name to clipboardExpand all lines: doc/datasets/index.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ numpy array X and an array of length n_samples containing the targets y.
3232

3333
The toy datasets as well as the 'real world' datasets and the datasets
3434
fetched from mldata.org have more sophisticated structure.
35-
These functions return a ``bunch`` (which is a dictionary that is
36-
accessible with the 'dict.key' syntax).
37-
All datasets have at least two keys, ``data``, containg an array of shape
38-
``n_samples x n_features`` (except for 20newsgroups) and ``target``, a numpy
39-
array of length ``n_features``, containing the targets.
35+
These functions return a dictionary-like object holding at least two items:
36+
an array of shape ``n_samples`` * `` n_features`` with key ``data``
37+
(except for 20newsgroups)
38+
and a NumPy array of length ``n_features``, containing the target values,
39+
with key ``target``.
4040

4141
The datasets also contain a description in ``DESCR`` and some contain
4242
``feature_names`` and ``target_names``.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.