Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save joyhuang9473/0ca0a82a0b2616759a7e to your computer and use it in GitHub Desktop.

Select an option

Save joyhuang9473/0ca0a82a0b2616759a7e to your computer and use it in GitHub Desktop.
K = 10 (0 to 9)(in ex3data1.mat)
% Octave console output
Training One-vs-All Logistic Regression...
Iteration 50 | Cost: 1.375603e-02 % k = 1
Iteration 50 | Cost: 5.725232e-02 % k = 2
Iteration 50 | Cost: 6.419917e-02 % k = 3
Iteration 50 | Cost: 3.576346e-02 % k = 4
Iteration 50 | Cost: 6.183236e-02 % k = 5
Iteration 50 | Cost: 2.121825e-02 % k = 6
Iteration 50 | Cost: 3.489292e-02 % k = 7
Iteration 50 | Cost: 8.559999e-02 % k = 8
Iteration 50 | Cost: 7.877348e-02 % k = 9
Iteration 50 | Cost: 9.719041e-03 % k = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment