Skip to content

Commit

Permalink
added: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vasnake committed Apr 4, 2014
1 parent 516a6e6 commit 38c4ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ex3/test_ex3.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

% Beware! Results of the fmincg may vary!
% You can try fminunc or a bigger number of iterations.
% In times of war the value of cosine could be 3 or even 4 (it's a joke)
%!test test_oneVsAll()

%!test test_predictOneVsAll()
2 changes: 2 additions & 0 deletions ex3/test_oneVsAll_converged.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
function test_oneVsAll_converged()
% these tests makes no difference between fmincg and fminunc

epsilon = 1e-3;

X = [0 1 2 2 1 0 3 4 5 5 4 3]';
Expand Down

0 comments on commit 38c4ebe

Please sign in to comment.