1
0
Files
AI-learning/linear regression/1.md
2024-06-03 09:38:49 +08:00

19 lines
231 B
Markdown

# 1.py
$$
y = wx + b
$$
## 梯度下降算法
$$
b_gradient += -\frac{2}{N} \left(y - (w_current \cdot x + b_current)\right)
$$
$$
w_gradient += -\frac{2}{N} \cdot x \cdot \left(y - (w_current \cdot x + b_current)\right)
$$