0
$\begingroup$

How do I get from the derivative in the second last line to get xj in the last line?

Gradient Descent Algorithm

$\endgroup$

1 Answer 1

1
$\begingroup$

$$ \frac{\partial}{\partial \theta_j} h_\theta(x) = \frac{\partial}{\partial \theta_j} [\theta_0 x_0 + \dots + \theta_j x_j + \dots + \theta_n x_n] = 0 + \dots + x_j + \dots + 0 $$ The underlying assumption here is that: $\frac{\partial \theta_i}{ \partial \theta_j }= 0 \ \forall i \neq j$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .