Commit Graph

289 Commits

Author SHA1 Message Date
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
Davis King
94f55bcaea Fix grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402382
2008-07-06 17:26:32 +00:00
Davis King
7a0447472a updated this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402381
2008-07-06 17:25:50 +00:00
Davis King
3c7c8fee30 Refactored a bunch of the svm training code into a much cleaner form.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402380
2008-07-06 17:25:29 +00:00
Davis King
b51cc5c295 made this exampler simpler
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402379
2008-07-05 17:32:47 +00:00
Davis King
edca3eca59 Made the specs more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402378
2008-07-05 17:32:04 +00:00
Davis King
8284d6b03c made the rank_features() function work with any kind of
vector like object

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402377
2008-07-05 17:30:00 +00:00
Davis King
8c79cdfe81 updated this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402376
2008-07-05 17:18:12 +00:00
Davis King
84c1595571 Made it so the kkmeans train function can take any kind of
vector container.  Not just dlib::matrix.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402375
2008-07-05 17:17:52 +00:00
Davis King
bd863f3f09 Made it so you can pass a dlib::matrix to the array_to_matrix
and vector_to_matrix functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402374
2008-07-05 17:15:09 +00:00
Davis King
a503643750 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402373
2008-07-05 16:49:49 +00:00
Davis King
c8bc446438 Added a rank_features() example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402372
2008-07-05 16:26:22 +00:00
Davis King
15365efd31 Added the rank_features() function
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402371
2008-07-05 15:17:37 +00:00
Davis King
40e0175067 update docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402370
2008-07-05 13:43:09 +00:00
Davis King
f7b30cad55 made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402369
2008-07-05 13:42:44 +00:00