2018年10月22日

numpy统计分布显示

摘要: #加载numpy包 import numpy #加载sklearn包 from sklearn.datasets import load_iris #读出鸢尾花数据集data data=load_iris() #鸢尾花花瓣长度的数据 petal_length=numpy.array(list(len[2] for len in data['data'])) print(petal_lengt... 阅读全文

posted @ 2018-10-22 18:53 阿占 阅读(2335) 评论(0) 推荐(0) 编辑

导航