会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
095邓俊威
博客园
首页
新随笔
联系
订阅
管理
2018年10月21日
numpy统计分布显示
摘要: import numpy as np from sklearn.datasets import load_iris data = load_iris() pental_len = data.data[:, 2] # 计算鸢尾花花瓣长度的最大值,平均值,中值,均方差 print("最大值:", np.max(pental_len)) print("平均值:", np.mean(pental_l...
阅读全文
posted @ 2018-10-21 09:50 095邓俊威
阅读(174)
评论(0)
推荐(0)
编辑