爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

分享 CH3 无监督学习与预处理
主啊 2021-7-23 16:44
CH3 无监督学习与预处理
#3.3预处理与缩放 import matplotlib.pyplot as plt import mglearn plt.rcParams = "gray" mglearn.plots.plot_scaling() plt.show() from sklearn.datasets import load_breast_cancer from sklearn.model_selection import train_test_split cancer = load_breast_canc ...
个人分类: python机器学习|149 次阅读|0 个评论
分享 第二章 监督学习
主啊 2021-7-9 10:41
第二章 监督学习
# 不同 n_neighbors 值得 k 临近模型的决策边界 import matplotlib.pyplot as plt import mglearn from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import train_test_split x,y = mglearn.datasets.make_forge() x_train,x_test,y_tr ...
个人分类: python机器学习|160 次阅读|0 个评论

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部