python自带的数据集

python自带的数据集

  1. 波士顿房价数据,回归
1
2
from sklearn import datasets
boston = datasets.load_boston()
  1. iris (鸢尾花)数据集,分类
1
2
from sklearn import datasets
iris = datasets.load_iris()
  1. 糖尿病数据集,回归
1
2
from skearn import datasets
diabetes = datasets.load_diabetes()
  1. 手写字符集,分类
1
2
from sklearn import datasets
digits = datasets.load_digits()
  1. linnerud (体能训练)数据集,多元回归
1
2
from sklearn import datasets
linnerud = datasets.load_linnerud()
-------------本文结束感谢您的阅读-------------