09 2019 档案
摘要:线性回归 1.一般形式 w叫做x的系数,b叫做偏置项。 2 如何计算 2.1 Loss Function MSE(均方误差) ^2) 利用梯度下降法找到最小值点,也就是最小误差,最后把 w 和 b 给求出来。 3 过拟合、欠拟合如何解决 使用正则化项,也就是给loss function加上一个参数项
阅读全文
摘要:下载地址:http://www.pc6.com/mac/115773.html 如果出现已经损坏无法打开提示,参考:http://www.pc6.com/edu/168719.html 按提示操作,我这里成功安装了,软件界面如下: navicat 使用教程 连接mysql数据库 成功链接,打开创建的
阅读全文
摘要:[1 0 0 0 2 0 1 1 0 0 1 1 2 1 2 2 0 1 2 1 2 2 0 0 1 1 2 1 2 1 0 0 2 0 1 1 0 0 1 2 2 0 1 2 2] KNeighborsClassifier(algorithm='auto', leaf_size=30, metri
阅读全文
摘要:1 通过figure创建画布 num=None, 图编号 figsize=None, 图大小 dpi=None, 图分辨率 facecolor=None, 背景颜色 edgecolor=None, 边框颜色 2 通过subplot创建单个子图 [] 3 通过subplots创建多个子图 4 通过ad
阅读全文
摘要:pandas series:一维数据结构 dataframe:二维数据结构 Series方式 参数说明: data index 索引 name 名称 copy 是否复制 dtype 数据类型 0 1 1 2 2 3 dtype: int64 a 1 b 2 c 3 dtype: int64 2001
阅读全文
摘要:numpy_learn 重要特点:N维数组对象,即ndarray对象 ndarray对象中存储的数据类型要是一致的 array([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11]]) 2 (3, 4) 12 dtype('int64') 8 创建Numpy对
阅读全文

浙公网安备 33010602011771号