Paste: Nonrelevant Crud

Author: bmp
Mode: text
Date: Fri, 28 Sep 2012 20:57:27
Plain Text |
    theta1 = theta(1) - alpha / m * sum((X * theta - y) .* X(:,1));
    theta2 = theta(2) - alpha / m * sum((X * theta - y) .* X(:,2));
    theta = [theta1; theta2]

New Annotation

Summary:
Author:
Mode:
Body: