You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pt5jvslni/Chapter5/线性回归算法流程.md

9 lines
294 B

6 years ago
# 5.3 线性回归算法流程
6 years ago
我们最终的目的是通过训练出来的线性回归模型对测试集数据进行预测,算法实现流程如下:
- 1.将`x0=1`加入训练数据
- 2.使用正规方程解求得参数
- 3.将`x0=1`加入测试数据
- 4.对测试集数据进行预测