File tree 2 files changed +7
-6
lines changed
Filter options
2 files changed +7
-6
lines changed
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Some of the features are boolean indicators,
14
14
while others are discrete or continuous measurements.
15
15
16
16
``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
18
19
and the target values in ``target ``.
19
20
The dataset will be downloaded from the web if necessary.
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ numpy array X and an array of length n_samples containing the targets y.
32
32
33
33
The toy datasets as well as the 'real world' datasets and the datasets
34
34
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 `` .
40
40
41
41
The datasets also contain a description in ``DESCR `` and some contain
42
42
``feature_names `` and ``target_names ``.
You can’t perform that action at this time.
0 commit comments