Regularized Linear Regression
- regularized both gradient descent and normal equation algorithms for linear regression
calculate min theta for minimizing J theta
Regularization penalize all thetas except theta zero
and cyan box is derrivative J theta without Regularization
the blue color is the additional regularized terms,
but outside of it is the ones that are partial derivatives to decrease the value of J theta
pinv tend to be questionable for the value