Commit Graph

7903 Commits

Author SHA1 Message Date
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
Davis King
4a19c35ad2 made the specs more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402400
2008-07-10 02:50:41 +00:00
Davis King
835427a476 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402399
2008-07-10 02:44:01 +00:00
Davis King
29b08623e8 Removed unnecessary restrictions on the rbf_network_trainer
object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402398
2008-07-10 02:22:54 +00:00
Davis King
e32aa6cf90 Added an RBF network trainer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402397
2008-07-10 02:11:56 +00:00
Davis King
b68878b412 Optimized the pinv function a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402396
2008-07-10 01:04:45 +00:00
Davis King
5808343f71 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402395
2008-07-08 23:49:47 +00:00
Davis King
77561ca13c Grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402394
2008-07-08 23:39:22 +00:00
Davis King
850d905811 Removed an unneeded and potentially numerical instability
inducing std::abs call.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402393
2008-07-08 23:38:33 +00:00
Davis King
c0634bb949 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402392
2008-07-08 03:12:52 +00:00
Davis King
f9d1f4d71e Added some missing requires clauses and asserts
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402391
2008-07-08 03:08:30 +00:00
Davis King
697df854f9 Added the reduced_decision_function_trainer object and
reduced() function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402390
2008-07-08 03:07:45 +00:00
Davis King
24974b75f8 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402389
2008-07-08 02:19:47 +00:00
Davis King
51b9c7a71b made the spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402388
2008-07-08 02:12:33 +00:00
Davis King
f7d97090ba Added the distance_function object
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402387
2008-07-07 01:59:34 +00:00
Davis King
0c1c9f67b9 Optimized the kcentroid code a little by making it wait
to compute the bias term until it actually needs it.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402386
2008-07-07 01:29:26 +00:00
Davis King
886d770f05 turned some tabs into spaces
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402385
2008-07-07 00:52:10 +00:00
Davis King
e718340392 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402384
2008-07-06 17:55:54 +00:00
Davis King
bf2f8f81bd Added some missing asserts and cleaned up some things
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402383
2008-07-06 17:55:34 +00:00