1
0
This commit is contained in:
2024-06-03 09:38:49 +08:00
parent e03a7de8f9
commit 2d1957b8c7
7 changed files with 261 additions and 103 deletions

18
linear regression/1.md Normal file
View File

@@ -0,0 +1,18 @@
# 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)
$$