Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
data_mining:regression [2019/02/10 17:12] – [Cost function] phreazer | data_mining:regression [2019/02/10 17:14] (current) – [Gradient descent] phreazer | ||
---|---|---|---|
Line 53: | Line 53: | ||
Wiederholen bis zur Konvergenz: | Wiederholen bis zur Konvergenz: | ||
- | $\theta_j := \theta_j - alpha \frac{\partial}{\partial\theta_j} J(\theta_0, \theta_1)$ | + | $\theta_j := \theta_j - \alpha \frac{\partial}{\partial\theta_j} J(\theta_0, \theta_1)$ |
Gleichzeitiges Update (!): | Gleichzeitiges Update (!): | ||
$$ | $$ | ||
- | tmp0 := \theta_0 - alpha \frac{\partial}{\partial\theta_0} J(\theta_0, \theta_1)\\ | + | tmp0 := \theta_0 - \alpha \frac{\partial}{\partial\theta_0} J(\theta_0, \theta_1)\\ |
- | tmp1 := \theta_1 - alpha \frac{\partial}{\partial\theta_1} J(\theta_0, \theta_1)\\ | + | tmp1 := \theta_1 - \alpha \frac{\partial}{\partial\theta_1} J(\theta_0, \theta_1)\\ |
\theta_0 := tmp0\\ | \theta_0 := tmp0\\ | ||
\theta_1 := tmp1 | \theta_1 := tmp1 |