This commit is contained in:
2026-02-13 14:03:28 +03:00
parent 417326498e
commit 65218abfb1
159 changed files with 2577567 additions and 2553 deletions

View File

@ -90,8 +90,10 @@ initial_theta = zeros(size(X, 2), 1);
lambda = 1;
% Set Options
options = optimset('GradObj', 'on', 'MaxIter', 400);
%Function Minimum Unconstrained
[theta, J, exit_flag] = ...
fminunc(@(t)(costFunction(t, X, y)), initial_theta, options);