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_yboolean, 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
dataBunch

Dictionary-like object, the interesting attributes are: ‘data’ and ‘target’, the two multivariate datasets, with ‘data’ corresponding to the exercise and ‘target’ 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.