未验证 提交 59002df0 编写于 作者: A Aston Zhang 提交者: GitHub

Merge pull request #217 from mli/qr

add qr for linear regression
......@@ -49,7 +49,7 @@ y += .01 * nd.random_normal(shape=y.shape)
print(X[0], y[0])
```
如果有兴趣,可以使用安装包中已包括的 Python 绘图包 `matplotlib`,生成第二个特征值 (`X[:, 1]`) 和目标值 `Y` 的散点图,更直观地观察两者间的关系。
如果有兴趣,可以使用安装包中已包括的 Python 绘图包 `matplotlib`,生成第二个特征值 (`X[:, 1]`) 和目标值 `Y` 的散点图,更直观地观察两者间的关系。
```{.python .input}
import matplotlib.pyplot as plt
......@@ -202,4 +202,8 @@ true_b, b
尝试用不同的学习率查看误差下降速度(收敛率)
**吐槽和讨论欢迎点**[这里](https://discuss.gluon.ai/t/topic/743)
## 讨论
**欢迎扫码直达[本节内容讨论区](https://discuss.gluon.ai/t/topic/743)**
![](qr/linear-regression-scratch.png)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册