标签:snippet bae term target load sklearn display 表示 详细信息
?
>>> from sklearn.datasets import load_boston >>> boston = load_boston() >>> print(boston.data.shape) (506, 13)
示例2:
>>> from sklearn.datasets import load_boston >>> data, target = load_boston(return_X_y=True) >>> print(data.shape) (506, 13) >>> print(target.shape) (506)
1.1.3:sklearn库中的标准数据集及基本功能
原文地址:https://www.cnblogs.com/nishida-rin/p/12253019.html