W3cubDocs

/scikit-learn

sklearn.datasets.load_linnerud

sklearn.datasets.load_linnerud(return_X_y=False) [source]

Load and return the linnerud dataset (multivariate regression).

Samples total 20
Dimensionality 3 (for both data and target)
Features integer
Targets integer

Read more in the User Guide.

Parameters:
return_X_y : boolean, default=False.

If True, returns (data, target) instead of a Bunch object. See below for more information about the data and target object.

New in version 0.18.

Returns:
data : Bunch

Dictionary-like object, the interesting attributes are: ‘data’ and ‘targets’, the two multivariate datasets, with ‘data’ corresponding to the exercise and ‘targets’ corresponding to the physiological measurements, as well as ‘feature_names’ and ‘target_names’. In addition, you will also have access to ‘data_filename’, the physical location of linnerud data csv dataset, and ‘target_filename’, the physical location of linnerud targets csv datataset (added in version 0.20).

(data, target) : tuple if return_X_y is True

New in version 0.18.

© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_linnerud.html