Commit Graph

1220 Commits

Author SHA1 Message Date
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
Davis King 764f0ea528 Changed code slightly to make the compiler errors you get when using a matrix
incorrectly slightly easier to understand.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403497
2010-02-27 20:43:20 +00:00
Davis King 65d9aa4e14 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403496
2010-02-27 19:16:52 +00:00
Davis King 21f7bed439 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403495
2010-02-27 18:32:52 +00:00
Davis King 6d4bcc2d25 Made code a little more generic.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403494
2010-02-27 13:45:43 +00:00
Davis King b50a60b3e3 Cleaned up this page a little bit.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403493
2010-02-26 03:55:25 +00:00
Davis King 2e05ee7439 Fixed grammar and added to svn:ignore list.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403492
2010-02-26 03:22:12 +00:00
Davis King 367552d152 Polished the code a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403491
2010-02-25 04:11:05 +00:00
Davis King 9168329dfc updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403490
2010-02-25 04:03:37 +00:00
Davis King e8bbb3cb86 Converted to ASCII since I can't seem to get the HTML version to display the UNICODE
characters right.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403489
2010-02-25 03:53:51 +00:00
Davis King 2da534b5e3 Fixed references
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403488
2010-02-25 03:49:27 +00:00
Davis King b934a51286 Moved the new OCA implementation into dlib proper.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403487
2010-02-25 03:43:17 +00:00
Davis King e8baa7d1a4 Made part of the code a little more straight forward.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403486
2010-02-24 01:22:27 +00:00
Davis King 348735ebea Fixed spelling.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403485
2010-02-24 01:15:23 +00:00
Davis King 16fdf803cc Fixed a bug in this test.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403484
2010-02-24 01:14:15 +00:00
Davis King 141b0efbe9 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403483
2010-02-24 01:12:17 +00:00
Davis King 39c7707413 Fixed a bug discovered by Mitchell Peabody. In some instances trying to
deserialize a std::vector would fail to compile.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403482
2010-02-24 00:36:46 +00:00
Davis King ef378198ab Relaxed the test for float matrices a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403481
2010-02-23 03:51:29 +00:00
Davis King d7c051ea52 Changed "small" to "little" since there is a #define small in visual studio that
messes this code up.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403480
2010-02-23 00:12:21 +00:00
Davis King 7a5662ae94 Changed test to make it a little more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403479
2010-02-21 19:37:29 +00:00
Davis King cc14e3f9eb Moved all the optimization stuff into its own page.
--HG--
rename : docs/docs/algorithms.xml => docs/docs/optimization.xml
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403478
2010-02-21 17:32:12 +00:00
Davis King becd071a17 Minor change to increase robustness to numerical errors.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403477
2010-02-20 20:56:54 +00:00
Davis King 64c4f6df36 Added a max iteration parameter to the solver. Also changed it slightly
to be more robust to numerically difficult problems.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403476
2010-02-19 20:10:00 +00:00
Davis King b30a275a09 Changed to suppress compiler warning and also make more general.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403475
2010-02-19 02:07:00 +00:00
Davis King e419bb1c0f Renamed the Imaging page to Image Processing.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403474
2010-02-19 00:57:03 +00:00
Davis King 396cd7b37b updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403473
2010-02-18 02:29:43 +00:00
Davis King c4d6929582 Added a simple linear kmeans implementation.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403472
2010-02-18 02:27:35 +00:00
Davis King e216fe04bc Updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403471
2010-02-18 01:51:30 +00:00
Davis King 2e30336bd3 Added the running_covariance class.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403470
2010-02-18 01:50:21 +00:00
Davis King 3a04fa1436 Added some comments about testing a function that computes gradients
against the dlib::derivative() function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403469
2010-02-17 00:12:46 +00:00
Davis King cf1939fc3c Initialized best_gamma to avoid a warning from gcc.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403468
2010-02-16 23:57:33 +00:00
Davis King 2851ae5cfc updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403467
2010-02-15 01:20:20 +00:00
Davis King e766b30d71 Worked on this page.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403466
2010-02-15 01:16:55 +00:00
Davis King b90b5f15d0 Added a missing assert and also added a function to convert from HOG
block coordinates back into the original image coordinates.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403465
2010-02-14 18:34:04 +00:00
Davis King 8381d8c4e6 Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403464
2010-02-14 18:07:40 +00:00
Davis King 0b80ef25df updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403463
2010-02-14 17:18:13 +00:00
Davis King 9ac0f5edb4 Fixed incorrect #includes.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403462
2010-02-14 16:34:08 +00:00
Davis King 1b4ab42bf1 Added #includes for the new files.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403461
2010-02-14 16:06:11 +00:00
Davis King 92640ce21a Moved the HOG and image pyramid code into dlib proper.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403460
2010-02-14 16:03:34 +00:00
Davis King 9ebbecb91c Just fixing grammar in comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403459
2010-02-14 13:03:57 +00:00
Davis King e021bb86f3 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403458
2010-02-14 12:59:37 +00:00
Davis King 4ceaf94352 Switched from BOBYQA to BFGS for this test since it is more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403457
2010-02-14 03:50:41 +00:00
Davis King 31d287326a updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403456
2010-02-13 22:03:52 +00:00
Davis King 9280d6aa21 Added missing requirement.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403455
2010-02-13 21:31:58 +00:00