Commit Graph

637 Commits

Author SHA1 Message Date
Davis King a35dd6da7a Added some stuff to encourage the use of scoped_ptr with the connection
objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402467
2008-08-13 01:32:23 +00:00
Davis King f2cd116fce Refactored the matrix code so that all matrix assignments from a matrix_exp
ultimately happen inside the matrix_assign() function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402466
2008-08-12 02:02:54 +00:00
Davis King ce2a36315e Made an example less confusing.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402465
2008-08-10 13:35:20 +00:00
Davis King 83963abf64 Grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402464
2008-08-07 03:01:44 +00:00
Davis King 44f4f5eb25 Fixed a potential bug in the hysteresis_threshold() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402463
2008-08-06 21:39:23 +00:00
Davis King 3a140cc063 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402462
2008-08-06 02:09:37 +00:00
Davis King 22d718b601 Added some extra checks in the stopping conditions to avoid
getting stuck while training an rvm.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402461
2008-08-06 02:05:30 +00:00
Davis King 3a2ffaa755 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402460
2008-08-05 02:14:12 +00:00
Davis King bf13005115 added a spec for the rvm_regression_trainer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402459
2008-08-05 01:59:17 +00:00
Davis King 23a50bd466 fixed a spelling error
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402458
2008-08-05 01:58:43 +00:00
Davis King 4360b88512 worked on the rvm regression
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402457
2008-08-05 01:44:55 +00:00
Davis King 69d481ca34 Added an initial cut of the rvm stuff
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402456
2008-08-05 00:20:27 +00:00
Davis King 3dd1af02b1 optimized the squared and cubed functions a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402455
2008-08-05 00:19:39 +00:00
Davis King ea6d003c4a Added more error handling to the nativefont. Also changed the
code so that the native font object isn't instantiated unless
you try to use it for something.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402454
2008-08-04 21:42:46 +00:00
Davis King 4d95091d90 Added the length and length_squared functions. Also cleaned up
the sigmoid function's code and spec

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402453
2008-08-03 20:19:49 +00:00
Davis King 278c4bcf17 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402452
2008-07-30 22:26:20 +00:00
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