Commit Graph

7721 Commits

Author SHA1 Message Date
Davis King db7e54051a Fixed some typos in the matrix utilities spec file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402451
2008-07-30 03:03:22 +00:00
Davis King 80f82a221c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402450
2008-07-29 23:55:06 +00:00
Davis King 1d777f2ffe turned the test_trainer function into the test_binary_decision_function
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402449
2008-07-29 23:51:31 +00:00
Davis King 1595f37a85 Made the reduced trainers copyable so that they can be used
with the threaded cross validation functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402448
2008-07-29 23:30:49 +00:00
Davis King a49a751cd5 changed gui code a little so that windows don't popup in funny
places when used with the cygwin X windows system.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402447
2008-07-29 22:37:10 +00:00
Davis King 98251c1962 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402446
2008-07-29 02:48:20 +00:00
Davis King fedf69e1a5 added the test_trainer and cross_validate_trainer_threaded functions
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402445
2008-07-29 02:41:19 +00:00
Davis King 7f9e7a534c Fixed grammar and make spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402444
2008-07-25 20:19:29 +00:00
Davis King 22a25c0cbc Added a small margin to the top of all the web pages.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402443
2008-07-25 15:41:54 +00:00
Davis King 0d5b3ed1e1 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402441
2008-07-25 15:22:07 +00:00
Davis King 14a1d7a659 Changed a few things so that the code works regardless of how you set the
character set option in visual studio.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402440
2008-07-25 12:06:48 +00:00
Davis King c6a6ed9484 Changed test to avoid false error
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402439
2008-07-25 04:05:42 +00:00
Davis King e24ed9dc8d updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402438
2008-07-25 03:41:46 +00:00
Davis King 83546f1f9e updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402437
2008-07-25 03:31:07 +00:00
Davis King ee01987581 Changed the default stopping tolerance in the reduced2() function
from 1e-5 to 1e-3.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402436
2008-07-25 03:29:29 +00:00
Davis King f08537883b Added reduced2() stuff to the svm example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402435
2008-07-25 03:28:36 +00:00
Davis King 4cd02ec451 Added a sigmoid_kernel object and also added a kernel_derivative
for the polynomial_kernel.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402434
2008-07-25 02:44:51 +00:00
Davis King fa59a5c023 Made the spec more clear and also added some tests
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402433
2008-07-25 01:30:51 +00:00
Davis King b21526cbbc Changed a few things so that the library works in cygwin.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402432
2008-07-25 00:06:07 +00:00
Davis King 4e042751ca Fixed the native font object so that it can find the X11 display
on Mac OS X even when the application is run outside an xterm.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402431
2008-07-25 00:00:54 +00:00
Davis King a5a0e114d2 Made the dlib::vector object convertible to a dlib::matrix and
also gave it a constructor to convert a matrix to a vector as
well.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402430
2008-07-24 02:54:04 +00:00
Davis King 583705bef5 fixed cmake options
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402429
2008-07-24 02:52:59 +00:00
Davis King 40aec08914 fix grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402428
2008-07-24 02:51:51 +00:00
Davis King 443b9c6d5e Added a cmake option for defining ENABLE_ASSERTS
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402427
2008-07-17 02:39:44 +00:00
Davis King a8c77d4c50 Added an option to the cmake lists file to enable or disable
the stack trace stuff.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402426
2008-07-16 23:52:53 +00:00
Davis King 46efb161f0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402425
2008-07-15 02:50:09 +00:00
Davis King 07c439992d Added get_kernel() member functions to the reduced set trainers.
Also added missing comments to the spec.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402424
2008-07-15 02:39:23 +00:00
Davis King 8e8b04d975 fixed grammar and comment typos
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402423
2008-07-15 02:31:58 +00:00
Davis King 1e6e74b1da updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402422
2008-07-14 02:59:38 +00:00
Davis King 27dfcc3606 Finished the reduced_decision_function_trainer2 object. Also added
the kernel_derivative template.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402421
2008-07-14 01:16:28 +00:00
Davis King 9773a97549 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402420
2008-07-13 00:36:02 +00:00
Davis King fa9c519e7a Moved the reduced set stuff to its own file. Also added a prototype
version of another reduced set algorithm.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402419
2008-07-12 21:46:22 +00:00
Davis King 6d3c1e5484 updated cmake file to avoid warning
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402418
2008-07-12 20:45:15 +00:00
Davis King e08cfd52f6 updated cmake file to avoid a warning from cmake
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402417
2008-07-12 20:44:19 +00:00
Davis King b175995243 Improved the reduced_decision_function_trainer object by making it use
the linearly_independent_subset_finder.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402416
2008-07-12 20:04:51 +00:00
Davis King d637dfe5d0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402415
2008-07-12 19:32:51 +00:00
Davis King c8b780f53a Updated this header to include the linearly_independent_subset_finder
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402414
2008-07-12 19:10:06 +00:00
Davis King c8d9f20bca Changed the rbf_network_trainer to use the linearly_independent_subset_finder
to find centers.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402413
2008-07-12 19:09:44 +00:00
Davis King ec316ccb1d Cleaned up the code a bit
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402412
2008-07-12 18:39:57 +00:00
Davis King 5e0340225b Added the linearly_independent_subset_finder object
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402411
2008-07-12 18:20:26 +00:00
Davis King 7fa878f4d0 Made the spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402410
2008-07-12 17:58:11 +00:00
Davis King 30a937ce2e Fixed compiler error I just introduced in this file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402409
2008-07-12 17:16:06 +00:00
Davis King 2b6dabcfd8 cleaned up this spec a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402408
2008-07-12 16:01:50 +00:00
Davis King be4e92e442 Added some missing member variables to the .swap and serialization
functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402407
2008-07-12 16:01:25 +00:00
Davis King 48f3eb20e9 Added a check for division by zero to the conjugate gradient
optimization functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402406
2008-07-11 17:40:06 +00:00
Davis King 197b36eb1a Removed a bug in the sum() and variance() functions that
caused them to seg fault when they were used on certain
matrix of matrix objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402405
2008-07-11 17:33:20 +00:00
Davis King 184f0ce398 Made the members of the function object non-const since
that was sort of obnoxious.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402404
2008-07-11 15:46:01 +00:00
Davis King 1e77987cc0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402403
2008-07-11 15:10:37 +00:00
Davis King 37fb612952 Added the inv_upper_triangular() and inv_upper_triangular()
functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402402
2008-07-11 15:09:30 +00:00
Davis King 734252aa53 Made the rbf_network's template argument be a kernel type
instead of a sample type.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402401
2008-07-10 23:11:26 +00:00