Commit Graph

1463 Commits

Author SHA1 Message Date
Davis King
6f353f30be Improved error messages generated when reading corrupted data files.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403547
2010-03-06 19:43:54 +00:00
Davis King
0e10e1e5ef Changed to avoid compiler warning.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403546
2010-03-06 19:26:07 +00:00
Davis King
c63f8cf285 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403545
2010-03-06 18:50:26 +00:00
Davis King
c988cdbaf7 Fixed #includes
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403544
2010-03-06 18:41:32 +00:00
Davis King
f5516e99ac Added some functions to load and save LIBSVM formatted data files.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403543
2010-03-06 18:30:53 +00:00
Davis King
b22f88c329 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403542
2010-03-06 15:08:03 +00:00
Davis King
7d85e87d25 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403541
2010-03-06 14:51:30 +00:00
Davis King
61ef4aeff4 Fixed command line option descriptions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403540
2010-03-06 14:49:30 +00:00
Davis King
cabf9fc577 Added more tests for the svm_c_linear_trainer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403539
2010-03-06 14:28:20 +00:00
Davis King
2f25dc559c Added a test specifically for the svm_c_linear_trainer and for the
oca solver by proxy.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403538
2010-03-06 14:07:24 +00:00
Davis King
372e6ec23e Clarified the spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403537
2010-03-06 13:14:51 +00:00
Davis King
95e7d6f208 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403536
2010-03-06 13:08:13 +00:00
Davis King
90af783b6c Made the spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403535
2010-03-05 22:00:23 +00:00
Davis King
4aef8a3552 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403534
2010-03-05 21:52:40 +00:00
Davis King
ca52c47a05 Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403533
2010-03-05 21:52:26 +00:00
Davis King
42025eedb7 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403532
2010-03-05 13:57:44 +00:00
Davis King
d2d2c2918a Renamed sparse_vector::dot_product() to sparse_vector::dot() so that both
dense and sparse vectors have a global function with the same name (i.e. dot()).

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403531
2010-03-05 13:54:54 +00:00
Davis King
03dbbddcec Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403530
2010-03-05 13:41:52 +00:00
Davis King
52ed0b700d Added some more links to the sparse vector definition.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403529
2010-03-05 13:33:03 +00:00
Davis King
51d2f96631 Slight improvement to spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403528
2010-03-05 13:32:32 +00:00
Davis King
e1f3b0e711 Added support for serializing dlib::int64
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403527
2010-03-05 01:51:33 +00:00
Davis King
5e0b929c94 Fixed spelling error
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403526
2010-03-05 01:40:30 +00:00
Davis King
28f1a9601a Fixed spelling error
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403525
2010-03-05 01:40:16 +00:00
Davis King
6f0f59def3 Added a call to set_c() to this example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403524
2010-03-03 03:36:26 +00:00
Davis King
c1343f0754 Switched the sparse vectors all over to unsigned integral keys and changed
the definition of what is officially a sparse vector to say that unsigned
integral keys are required.  Having this requirement is nice because it creates
a simple correspondence between dense vector index values and sparse vector keys.
The previous sparse vector definition was just excessively generic.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403523
2010-03-03 03:29:59 +00:00
Davis King
6ed74b7a7f Simplified the code a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403522
2010-03-03 03:26:42 +00:00
Davis King
48389c5a87 Renamed r_has_lower_bound() to risk_has_lower_bound()
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403521
2010-03-03 00:14:14 +00:00
Davis King
c725ee0917 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403520
2010-03-01 04:40:38 +00:00
Davis King
b77ee4307a This change was just to avoid a warning from gcc. The code still
computes exactly the same thing as before.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403519
2010-03-01 04:39:42 +00:00
Davis King
e5d719e20a Updated example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403518
2010-03-01 04:38:42 +00:00
Davis King
45627a40ba Fixed spelling error in comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403517
2010-03-01 04:12:05 +00:00
Davis King
ad8fb3ff64 Made the line search a little more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403516
2010-03-01 04:11:10 +00:00
Davis King
1a28cca67c Switched from signed to unsigned sparse vector keys
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403515
2010-03-01 04:00:17 +00:00
Davis King
13f297ae95 Fixed spelling error in comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403514
2010-03-01 03:51:21 +00:00
Davis King
da29ac8a66 Changed sparse vector definition to encourage use of unsigned keys.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403513
2010-03-01 03:13:36 +00:00
Davis King
43516aa817 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403512
2010-03-01 03:11:53 +00:00
Davis King
1ef9e9189a Added some compile time checks to make sure that only sparse vectors that
contain unsigned integral keys get used with the svm_c_linear_trainer.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403511
2010-03-01 03:10:24 +00:00
Davis King
b0fb6d545b Fixed the svm_c_linear_trainer so that it compiles with sparse vectors.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403510
2010-03-01 02:48:57 +00:00
Davis King
d719e96a6f Fixed weird typo in docs.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403509
2010-02-28 14:30:12 +00:00
Davis King
fe468e5893 updated spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403508
2010-02-28 02:11:36 +00:00
Davis King
1c421e8d10 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403507
2010-02-28 02:10:31 +00:00
Davis King
606dd7c22c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403506
2010-02-28 02:06:04 +00:00
Davis King
4eb5bc6a8d Made a proper spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403505
2010-02-28 01:55:53 +00:00
Davis King
ce42b721dd updated the svm_c_linear_trainer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403504
2010-02-28 01:42:55 +00:00
Davis King
c2de9780a3 Just minor improvements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403503
2010-02-28 01:34:31 +00:00
Davis King
60d25f3e72 Improved the interface for the oca optimizer. Now the user has a lot more
control of when to stop the algorithm.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403502
2010-02-28 00:24:15 +00:00
Davis King
3d118c637c Switched the QP solver from using KKT violation as a stopping
condition to using the duality gap.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403501
2010-02-27 23:51:06 +00:00
Davis King
d3bb40871d Adding a linear SVM C trainer that uses OCA.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403500
2010-02-27 20:56:26 +00:00
Davis King
207c334f4c Improved compiler error messages.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403499
2010-02-27 20:44:36 +00:00
Davis King
e90c1d7d4d Minor style changes.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403498
2010-02-27 20:43:56 +00:00