机器学习
SinclairWang
A very self-motivated person, a very modest man,and also a man does not fear endures hardship.
展开
-
sklearn警告报错学习记录
WarningConvergenceWarning:The max_iter was reached which means the coef_ did not converge“the coef_ did not converge”, ConvergenceWarning)迭代次数不够,参数未收敛,设置合理的max_iter使其收敛FutureWarning:The defau...原创 2020-02-19 11:20:40 · 1897 阅读 · 1 评论 -
《机器学习实战》复现python语法不兼容遇到的问题
Chapter 3 决策树’dict_keys’ object is not subscriptable - firstStr = myTree.keys()[0] # 根结点 + firstStr = list(myTree.keys())[0] # 根结点 UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x80 in p...原创 2020-02-01 23:46:28 · 336 阅读 · 0 评论 -
机器学习之线性回归
文章目录简单的线性回归正规方程求解梯度下降求解简单的线性回归以某产品的温度和产率关系为例,其中产率(y)是温度(x)的函数。请构建模型预测产品产率。温度产率10045110511205413061140661507016074170781808519089首先,我们可以先把数据可视化,画个散点...原创 2019-08-17 15:45:26 · 149 阅读 · 0 评论