sklearn.datasets.load_boston(return_X_y=False)
[source]
Load and return the boston house-prices dataset (regression).
Samples total | 506 |
Dimensionality | 13 |
Features | real, positive |
Targets | real 5. - 50. |
Read more in the User Guide.
Parameters: |
|
---|---|
Returns: |
|
Changed in version 0.20: Fixed a wrong data point at [445, 0].
>>> from sklearn.datasets import load_boston >>> boston = load_boston() >>> print(boston.data.shape) (506, 13)
sklearn.datasets.load_boston
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_boston.html