Commit Graph

8276 Commits

Author SHA1 Message Date
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
Davis King
f870b052d7 Added some overloads of the randomize_samples() functions to take
std vector objects and to take just one vector of things without
labels as well.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402368
2008-07-04 16:44:37 +00:00
Davis King
828f7bbb87 Added a missing requires clause to the kkmeans object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402367
2008-07-03 23:08:59 +00:00
Davis King
3946767f6e Fixed the running_stats object so that the variance can never be negative.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402366
2008-07-03 23:04:39 +00:00
Davis King
14ff48d30c Added the ability to compare kcentroid objects to each other
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402365
2008-07-03 22:56:25 +00:00
Davis King
d7b506fa43 Made the kernel objects comparable via operator==
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402364
2008-07-03 22:54:40 +00:00
Davis King
dea84fe508 Oops. Put an important #include back
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402363
2008-06-26 01:52:50 +00:00
Davis King
5af59ada40 Applied another Unicode patch from Keita Mochizuki.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402362
2008-06-26 01:48:51 +00:00
Davis King
c4629db646 Grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402360
2008-06-26 01:26:57 +00:00
Davis King
d4b6d63c99 fixed out of date spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402359
2008-06-24 01:17:33 +00:00
Davis King
51f45aa8ed Fixed a bug in the min and max calculation.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402358
2008-06-24 01:11:02 +00:00
Davis King
66b7719fe6 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402356
2008-06-22 23:29:23 +00:00
Davis King
704e50f9f0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402355
2008-06-22 23:14:47 +00:00
Davis King
91c9544aa5 set the subversion eol-style to native for these files
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402354
2008-06-22 22:59:33 +00:00