Commit Graph

970 Commits

Author SHA1 Message Date
Davis King 49854b5b29 Added stuff to cmake to suppress warnings in newer versions of cmake.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403241
2009-10-15 22:38:03 +00:00
Davis King 192e139e60 Clarified comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403240
2009-10-11 17:26:02 +00:00
Davis King dbfc818e4c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403239
2009-10-06 01:18:28 +00:00
Davis King b655d51edf - Fixed a bug in find_max_single_variable(). It was missing a - sign on the return.
- changed the find_*_single_variable() functions so that their interfaces are like
  the other find_* functions.
- Made the verbose printout from feature ranking more reasonable.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403238
2009-10-06 01:17:12 +00:00
Davis King 3fb3b86cb4 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403237
2009-10-05 03:25:11 +00:00
Davis King 6a63ad165a Improved comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403236
2009-10-05 03:24:24 +00:00
Davis King ecfa5a8d4a Updated this example to use the newer and easier to use wrapper
function for rank_features().

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403235
2009-10-05 03:11:23 +00:00
Davis King a01f495ae8 Added wrapper rank_features() functions to help the user
pick reasonable default inputs to this function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403234
2009-10-05 02:58:29 +00:00
Davis King 0a7791dfab Made the bracketing stage of the find_min_single_variable() function more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403233
2009-10-05 02:48:29 +00:00
Davis King 45f82877c9 Fixed incorrect #include statements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403232
2009-10-05 01:53:39 +00:00
Davis King a5310685c6 Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403231
2009-10-05 01:26:47 +00:00
Davis King 93eda13be7 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403230
2009-10-05 00:23:33 +00:00
Davis King 93bb778fc6 Added some functions to make it easy to do a line search on a function
of a single variable when derivatives are not available.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403229
2009-10-05 00:03:02 +00:00
Davis King 538a106c04 Made the spec green brighter.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403228
2009-09-30 00:52:01 +00:00
Davis King d2a8d08e99 Added some borders to the top of the page.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403227
2009-09-26 21:47:03 +00:00
Davis King dfc83b5ede Improved the layout a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403226
2009-09-26 14:29:56 +00:00
Davis King 51aa2cd958 Fixed incorrect citation.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403225
2009-09-26 00:58:18 +00:00
Davis King 6e7ab9cbb0 Fixed incorrect citation.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403224
2009-09-26 00:57:51 +00:00
Davis King 46451c998b Renamed some variables named "id" so that they don't upset XCode.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403223
2009-09-22 22:20:42 +00:00
Davis King 602b62673a changed version number
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403222
2009-09-21 11:02:28 +00:00
Davis King 267634fb96 Fixed the incorrect parsing of exponentiated numbers like 1e100.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403221
2009-09-21 11:02:03 +00:00
Davis King f24f61a4c5 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403220
2009-09-20 22:49:42 +00:00
Davis King af8f65d442 - Added a compile time check for function references
- Made the optimization routines return the value of the objective
    function at the end of optimization.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403219
2009-09-20 22:09:40 +00:00
Davis King 79a7191431 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403218
2009-09-20 15:44:05 +00:00
Davis King 3e68d3e5cb Minor cleanup
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403217
2009-09-20 15:43:44 +00:00
Davis King 59409fb50d Added a BOBYQA example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403216
2009-09-20 15:33:09 +00:00
Davis King 1f93746e33 Changed code to avoid compiler warnings.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403215
2009-09-20 14:48:37 +00:00
Davis King 75c243dbad Added Powell's BOBYQA algorithm for optimization without derivatives.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403214
2009-09-20 14:36:14 +00:00
Davis King 21674daa5c Added std::boolalpha to the ostringstream so that bool messages
get printed in a nice way.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403213
2009-09-20 14:33:57 +00:00
Davis King 22b3cc0f4b made the spec a little more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403212
2009-09-20 13:00:20 +00:00
Davis King 2638b2f67d updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403211
2009-09-19 17:26:39 +00:00
Davis King 16882a7e9e Added the pointer_to_column_vector function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403210
2009-09-19 17:24:52 +00:00
Davis King 9e644cbfc6 Made the spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403209
2009-09-19 15:21:10 +00:00
Davis King 8aa8a27f73 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403205
2009-09-11 00:59:14 +00:00
Davis King 15c6f30520 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403204
2009-09-11 00:05:36 +00:00
Davis King 0c1117df40 Renamed the two parameters in the probabilistic_decision_function from a and b
to alpha and beta.  This is to avoid any possibility of a probabilistic_decision_function
being accidentally passed into templated code that is looking for the bias (the b element)
term of a decision_function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403203
2009-09-10 23:22:47 +00:00
Davis King 6dca2475a6 Added a spinner to part of a test.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403202
2009-09-10 01:52:35 +00:00
Davis King e1b3a927dd Removed two try/catch blocks from the threading code. One was replaced with
the RAII equivalent and the other was the final catch block to log uncaught exceptions
from the user and then abort the program.  The code now lets the exception escape
to the operating system so that it is easier to debug uncaught exceptions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403201
2009-09-10 01:32:05 +00:00
Davis King f9c83710d0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403200
2009-09-09 01:10:55 +00:00
Davis King 182c811ff6 Added the gradient_norm_stop_strategy
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403199
2009-09-09 01:10:37 +00:00
Davis King a6d5626599 Fixed compiler warning from gcc
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403198
2009-09-09 00:37:00 +00:00
Davis King 369f67c659 Added a missing #include.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403197
2009-09-09 00:31:57 +00:00
Davis King 384060690e Changed the code a little in an attempt to make it more robust against Windows header
files that try and #define the words "min" and "max"

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403196
2009-09-09 00:29:48 +00:00
Davis King 15f5889e11 Fixed typo in spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403195
2009-09-07 17:37:25 +00:00
Davis King 98cab583b2 Added comments regarding the paired calling order of functions and their
derivatives.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403194
2009-09-07 16:11:20 +00:00
Davis King 880f532c3d Fixed spelling and grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403193
2009-09-07 15:52:00 +00:00
Davis King 5df855d798 Refined the spec for some functions and also added some missing asserts.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403192
2009-09-07 15:23:19 +00:00
Davis King ea35161a94 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403191
2009-09-07 04:09:51 +00:00
Davis King 9fb35897b7 Split the code up into multiple files and setup the abstracts for each of them.
--HG--
rename : dlib/optimization/optimization.h => dlib/optimization/optimization_line_search.h
rename : dlib/optimization/optimization_abstract.h => dlib/optimization/optimization_line_search_abstract.h
rename : dlib/optimization/optimization.h => dlib/optimization/optimization_search_strategies.h
rename : dlib/optimization/optimization_abstract.h => dlib/optimization/optimization_search_strategies_abstract.h
rename : dlib/optimization/optimization.h => dlib/optimization/optimization_stop_strategies.h
rename : dlib/optimization/optimization_abstract.h => dlib/optimization/optimization_stop_strategies_abstract.h
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403190
2009-09-07 02:37:28 +00:00
Davis King 75b3839a71 Changed comment because I think it is easier to read this way.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403189
2009-09-06 21:44:58 +00:00