Commit Graph

3807 Commits

Author SHA1 Message Date
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
Davis King 8fa3384277 set the subversion eol-style to native for these files
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402353
2008-06-22 22:56:19 +00:00
Davis King 0b26c0ba46 set the subversion eol-style to native for these files
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402352
2008-06-22 22:54:49 +00:00
Davis King 9ace2f11fe fixed some compiler warnings
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402351
2008-06-22 22:52:35 +00:00
Davis King 8486314823 fixed compiler warning
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402350
2008-06-22 22:51:54 +00:00
Davis King 26b0f8f385 Changed version number in the bayes net gui code since this version
of the library breaks backwards compatibility with the old serialization
format used by this program.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402349
2008-06-22 22:20:11 +00:00
Davis King a0db2a60d0 Added a min() and max() to the running_stats object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402348
2008-06-22 22:14:13 +00:00
Davis King 4129ef3ca5 updated the how to compile docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402347
2008-06-21 14:32:23 +00:00
Davis King 9d05fb29cc Fixed some grammar and typos
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402346
2008-06-21 14:32:03 +00:00
Davis King 7226d0b68b made the examples a little more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402345
2008-06-21 14:31:41 +00:00
Davis King 8314cc6856 minor code cleanup
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402344
2008-06-19 02:39:58 +00:00
Davis King b464b944c3 changed to avoid compiler warning in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402343
2008-06-19 02:34:53 +00:00
Davis King 8b7688034d updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402342
2008-06-19 02:25:02 +00:00
Davis King 9de97a2e3e Improved this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402341
2008-06-19 02:21:56 +00:00
Davis King cd9dbd575a Added the running_stats object
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402340
2008-06-19 02:21:32 +00:00
Davis King e8537b1f7b Just code clean up stuff like making sure everything uses the right
templated scalar types and checking for degenerate numerical conditions
and so forth.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402339
2008-06-19 00:00:18 +00:00
Davis King 69b4407c50 Added some missing requires clauses to the max and min functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402338
2008-06-18 23:50:01 +00:00
Davis King 6cd52824f8 Fixed the kkmeans example so that it actually makes points in a circle
instead of half circle.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402337
2008-06-17 00:05:08 +00:00
Davis King f7d40eb2af Changed code slightly to avoid compiler error in some versions of gcc.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402336
2008-06-17 00:01:31 +00:00
Davis King 588b1cc49c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402335
2008-06-16 02:37:03 +00:00