mvpa2.datasets.sources.skl_data.skl_boston¶
-
mvpa2.datasets.sources.skl_data.
skl_boston
()¶ Load and return the boston house-prices dataset (regression).
Samples total 506 Dimensionality 13 Features real, positive Targets real 5. - 50. Returns: data : Bunch
Dictionary-like object, the interesting attributes are: ‘data’, the data to learn, ‘target’, the regression targets, and ‘DESCR’, the full description of the dataset.
Notes
This function has been auto-generated by wrapping load_boston() from the sklearn package. The documentation of this function has been kept verbatim. Consequently, the actual return value is not as described in the documentation, but the data is returned as a PyMVPA dataset.
Examples
>>> from sklearn.datasets import load_boston >>> boston = load_boston() >>> print(boston.data.shape) (506, 13)