Cost Function, Gradient Descent.
at the update rule, the gradient descent rule for linear regression, it looked exactly like what I drew here inside the blue box. So are linear regression and logistic regression different algorithms or not? Well, this is resolved by observing that for logistic regression, what has changed is that