Commit Graph

8268 Commits

Author SHA1 Message Date
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
Davis King 0d91cb70cc Fixed some spelling errors
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402263
2008-05-25 02:59:19 +00:00
Davis King 1d2c7a1ca1 Made the is_matrix template a little more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402262
2008-05-24 21:38:50 +00:00
Davis King add9a09a0a Added an identity_matrix() that can take a runtime defined size.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402261
2008-05-24 15:10:09 +00:00
Davis King e042b167b4 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402260
2008-05-23 02:54:59 +00:00
Davis King e3bcff4cb9 Made a comment more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402259
2008-05-23 02:54:47 +00:00
Davis King 2f5000e3da updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402258
2008-05-23 00:27:27 +00:00
Davis King 393ba83fa0 Added the kcentroid example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402257
2008-05-23 00:26:28 +00:00
Davis King c1b04eab51 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402256
2008-05-23 00:11:01 +00:00
Davis King 1b781f15c8 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402255
2008-05-23 00:09:59 +00:00
Davis King 246a14f996 added the krls example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402254
2008-05-23 00:08:49 +00:00
Davis King 2ae506deac updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402253
2008-05-23 00:05:53 +00:00
Davis King dbff99837c renamed the one_class object to kcentroid
--HG--
rename : dlib/svm/one_class.h => dlib/svm/kcentroid.h
rename : dlib/svm/one_class_abstract.h => dlib/svm/kcentroid_abstract.h
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402252
2008-05-23 00:05:41 +00:00
Davis King 43946fccac Added a function that lets you test and train at the same time
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402251
2008-05-23 00:01:44 +00:00
Davis King 230b8b9509 Added the max discount parameter to the one class algorithm as well
as cleaned up the code a bit.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402250
2008-05-21 23:00:00 +00:00
Davis King 13ed137cb2 Added a requires clause to the set_tolerance() member function and
renamed clear() to clear_dictionary().

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402249
2008-05-21 22:57:36 +00:00
Davis King 8e51330251 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402248
2008-05-21 02:03:51 +00:00
Davis King 385c1d9818 Added a simple kernel based one class classifier.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402247
2008-05-21 01:51:41 +00:00
Davis King 94cd99d109 Fixed incorrect comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402246
2008-05-20 21:22:20 +00:00
Davis King 6021b974bc updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402245
2008-05-19 00:41:21 +00:00
Davis King f6c2d317b0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402243
2008-05-15 21:03:57 +00:00
Davis King 818bc6adf6 Changed the stack trace stuff so that it doesn't perform memory
allocations or copy strings.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402242
2008-05-15 20:56:04 +00:00
Davis King 2c32d2d242 Added a missing dlib:: qualifier
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402241
2008-05-15 20:47:43 +00:00
Davis King fc361a7f2f Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402240
2008-05-15 20:46:20 +00:00
Davis King 416c95fbd7 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402239
2008-05-15 01:09:26 +00:00
Davis King 310478521b updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402238
2008-05-15 01:06:57 +00:00
Davis King 90ca365d42 Added a missing scope resolution statement.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402237
2008-05-15 00:58:02 +00:00
Davis King 23b3a722df Made the stack trace stuff more robust
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402236
2008-05-15 00:55:42 +00:00