diff --git a/mlclass-ex1/normalEqn.m b/mlclass-ex1/normalEqn.m index d32cd8e..8863c6d 100644 --- a/mlclass-ex1/normalEqn.m +++ b/mlclass-ex1/normalEqn.m @@ -12,7 +12,7 @@ % ---------------------- Sample Solution ---------------------- - +theta = pinv(X' * X) * X' * y; % -------------------------------------------------------------