Commit Graph

95 Commits

Author SHA1 Message Date
Davis King f76ce33475 Renamed the get_tolerance() and get_max_dictionary_size() functions
so that they don't start with get_ to be a little more consistent.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402314
2008-06-14 03:38:14 +00:00
Davis King 3e1edfaa32 - Added a max dictionary setting to the kcentroid object
- Removed the "discount" thing and replaced it with a
     much less confusing pair of scale arguments to the
     training functions.
   - Changed the kcentroid's serialization format.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402313
2008-06-14 03:32:09 +00:00
Davis King 94ebc5c338 Updated the comments
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402312
2008-06-14 02:18:35 +00:00
Davis King 307740b85d - Fixed a minor numerical error in the krls code so now it gets slightly better
results.
   - Added the ability to cap the number of dictionary vectors used by the krls
     object at a user specified number.  This changes the serialization format
     of the object.  I also removed the function to set the threshold after
     the object has been constructed.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402311
2008-06-14 02:17:23 +00:00
Davis King f8fe979b7a Made the specs a little more clear and added some more tests
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402310
2008-06-13 23:43:01 +00:00
Davis King 9328d20991 Fixed a typo in the spec for round_zeros
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402309
2008-06-13 23:12:42 +00:00
Davis King d4a633ea62 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402308
2008-06-13 12:58:59 +00:00
Davis King ad06153a0b - Fixed some issues with the requires clause of the removerc function.
- Added the remove_row and remove_col functions.  Also made all
    three of the above functions capable of taking arguments at
    run time as well as compile time.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402307
2008-06-13 12:58:37 +00:00
Davis King 881c2b090f Added some clarifying comments to the svd function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402306
2008-06-11 23:35:37 +00:00
Davis King 7f3eb53a88 Fixed an aliasing bug in the set_subm(), set_rowm(), and set_colm()
functions.  It was possible that you could get incorrect results
if you used these functions to copy one part of a matrix to another
part of the same matrix if the two areas overlapped.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402305
2008-06-11 23:33:54 +00:00
Davis King 325c73087e updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402304
2008-06-10 01:10:18 +00:00
Davis King 6d23c80a28 Removed the DLIB_PNG_SUPPORT stuff from the how to compile page.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402303
2008-06-10 01:07:17 +00:00
Davis King f093374d6d Fixed compiler error I added to the matrix a moment ago.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402302
2008-06-10 01:04:39 +00:00
Davis King f825990c39 Changed the matrix operations so that they result in shorter type names
when compiled.  This avoids problems in compilers like visual studio.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402301
2008-06-10 00:56:16 +00:00
Davis King 2801ca62c7 Added an initial cut of the http client code from Steven Van Ingelgem.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402300
2008-06-03 02:09:11 +00:00
Davis King bdd16302eb make a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402299
2008-06-03 01:07:32 +00:00
Davis King 164b62cab6 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402297
2008-06-03 00:42:02 +00:00
Davis King 79770dc7db Added some missing assert statements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402296
2008-06-03 00:37:25 +00:00
Davis King c59eb3eacf cleaned up the style sheet a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402295
2008-06-02 23:56:15 +00:00
Davis King 9970e3c240 Modified the radio_button style so that it looks nicer.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402294
2008-06-02 23:43:41 +00:00
Davis King b647b9b619 Fixed typo in spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402293
2008-06-02 23:30:05 +00:00
Davis King 072a0a4bb0 Cleaned up the kcentroid code a bit.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402292
2008-06-02 02:27:49 +00:00
Davis King e8aa99b018 Cleaned up the code for the krls object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402291
2008-06-02 02:16:03 +00:00
Davis King 57c2482aa0 Added some more tests to the matrix regression test.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402290
2008-06-01 22:58:40 +00:00
Davis King cdb7e1aa01 Fixed some bugs in the require clause of the subm and set_subm functions.
Also suppressed some compiler warnings.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402289
2008-06-01 22:58:08 +00:00
Davis King 7cc8219894 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402288
2008-06-01 22:26:16 +00:00
Davis King 4833bf7d49 Added the set_subm, set_rowm, and set_colm functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402287
2008-06-01 22:24:14 +00:00
Davis King 54a9f2aa6f Added some asserts
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402286
2008-05-30 23:43:35 +00:00
Davis King 6ec72366af Added kkmeans_ex.cpp to the cmake file
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402285
2008-05-30 23:24:11 +00:00
Davis King aa2862f148 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402284
2008-05-30 23:00:23 +00:00
Davis King 30bf945095 Added a kkmeans example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402283
2008-05-30 22:52:51 +00:00
Davis King cbdfb76f7a Added the kkmeans object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402282
2008-05-30 22:26:48 +00:00
Davis King 1df8f39a17 Changed the checks in the matrix object so that you are allowed to
assign a matrix of matrices to another matrix of matrices so long
as long as the assignment makes sense.  Previously you were only
allowed to perform this assignment if the inner most matrix types
were exactly the same.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402281
2008-05-30 21:03:04 +00:00
Davis King 06faf15874 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402280
2008-05-30 14:35:26 +00:00
Davis King 31b6ded6eb Added two new events to the text_field object. One for detecting when the
user hits enter and another for detecting when input focus is lost.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402279
2008-05-30 13:59:38 +00:00
Davis King 66f92cb156 Changed code to avoid a compiler warning.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402278
2008-05-26 13:25:01 +00:00
Davis King 91568536b3 Changed tests so that they compile in visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402277
2008-05-26 12:12:21 +00:00
Davis King 8bcd5d73f5 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402276
2008-05-26 03:59:19 +00:00
Davis King e996a133e8 Fixed typo in spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402275
2008-05-26 03:56:08 +00:00
Davis King b45480b342 Made the code more portable
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402274
2008-05-26 03:44:32 +00:00
Davis King 44f9171b00 Added the wrap_function and is_function templates.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402273
2008-05-26 03:43:34 +00:00
Davis King d69b8d71e6 Added versions of the find_min_* functions that don't take
a derivative function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402272
2008-05-25 21:43:47 +00:00
Davis King 9717c6ca8b Made the optimization functions not return the value of the objective
function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402271
2008-05-25 21:11:59 +00:00
Davis King 7deee75572 saving optimization test
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402270
2008-05-25 21:11:23 +00:00
Davis King 012a2d5eaf Added an empty test file for the optimization stuff
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402269
2008-05-25 19:49:02 +00:00
Davis King 0a76da7909 Removed unneeded stuff
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402268
2008-05-25 19:45:56 +00:00
Davis King f79434b5d8 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402267
2008-05-25 19:45:32 +00:00
Davis King 14bb3b3661 Fixed a typo in a comment
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402266
2008-05-25 19:36:09 +00:00
Davis King a2cbc77194 Renamed some functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402265
2008-05-25 19:29:14 +00:00
Davis King e2649f2871 Added a bunch of unconstrained optimization stuff to the library.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402264
2008-05-25 19:19:18 +00:00