![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
机器学习
你好!!ii
这个作者很懒,什么都没留下…
展开
-
欠拟合,过拟合,岭回归
alpha:0~1 1~10 完整代码: import pandas as pd from sklearn.datasets import load_boston from sklearn.linear_model import LinearRegression, SGDRegressor, Ridge from sklearn.model_selection import train_test_split from sklearn.preprocessi...原创 2022-04-28 17:18:33 · 124 阅读 · 0 评论 -
线性回归和波士顿房价预测
线性回归,找一种能预测的趋势 预测值和真实值存在一定的误差 迭代的算法 回归:知道有误差,不断的减少误差 数据:boston-house/house_data.csv at master · longhopefor/boston-house (github.com) import pandas as pd from sklearn.datasets import load_boston from sklearn.linear_m原创 2022-04-28 17:15:20 · 334 阅读 · 0 评论