Commit Graph

1490 Commits

Author SHA1 Message Date
Davis King fc1e5a973c Set the default build type to release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403784
2010-07-25 16:04:37 +00:00
Davis King 37f5729c51 Changed the default build type to Release.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403783
2010-07-25 16:03:38 +00:00
Davis King 253cfe07b7 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403782
2010-07-25 03:19:57 +00:00
Davis King 438b84b90d Added some missing "explicit" keywords.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403781
2010-07-24 22:23:46 +00:00
Davis King 71bec0bd6f Added an example of using be_verbose() to see the optimization progress.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403780
2010-07-24 22:04:07 +00:00
Davis King 9a6305af79 made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403779
2010-07-24 21:58:04 +00:00
Davis King 6ce7fd7416 Added a comment about playing around with the epsilon to improve
training time.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403778
2010-07-24 21:33:19 +00:00
Davis King 51831d20ac Added missing get/set epsilon functions to the RVM training objects.
I also changed the default epsilon from 0.0005 to 0.001.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403777
2010-07-24 21:28:46 +00:00
Davis King 8d08f3d508 updated example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403776
2010-07-24 21:10:59 +00:00
Davis King f9f6bcf890 Changed the train_probabilistic_decision_function() routine so that it uses
a more numerically stable method to perform its maximum likelihood optimization.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403775
2010-07-24 21:07:49 +00:00
Davis King 02d86a12f8 Changed print statement so the output is slightly less confusing.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403774
2010-07-24 21:04:18 +00:00
Davis King b80883255a Added a simple newton search strategy.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403773
2010-07-24 19:49:12 +00:00
Davis King d286560e8e Added be_verbose() functions to the stop strategies. Now you can tell them
to print the progress of an optimization algorithm to standard out.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403772
2010-07-24 19:46:41 +00:00
Davis King 4901ed608f Added a max iterations parameter to the line_search() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403771
2010-07-24 17:53:51 +00:00
Davis King 4f791bb416 Added back the missing randomize_samples() since the probabilistic_decision_function
training needs it.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403770
2010-07-24 12:22:41 +00:00
Davis King 5aa59b1a10 Updated example's reported output.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403769
2010-07-24 03:26:10 +00:00
Davis King d1a3dcd3cf Optimized the krr_trainer a bit. It's now twice as fast as it was before. I
also increased the default number of lambdas in the search list.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403768
2010-07-24 03:23:01 +00:00
Davis King 9114f8611a updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403767
2010-07-24 02:23:12 +00:00
Davis King 7b501cb7b4 Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403766
2010-07-24 02:22:38 +00:00
Davis King f7153a8c02 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403765
2010-07-24 00:45:49 +00:00
Davis King 1d204e7916 Added some examples for kernel ridge regression.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403764
2010-07-24 00:38:22 +00:00
Davis King ff4e73aceb Just renamed some things and made the spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403763
2010-07-24 00:37:57 +00:00
Davis King 69965b228b Added citation
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403762
2010-07-23 21:46:51 +00:00
Davis King 2da4c89dda Added a missing const. Its absence was causing a compile time error.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403761
2010-07-23 21:36:40 +00:00
Davis King 65c1551af6 Added some tests for the new krr_trainer. I also simplified the checkers board
dataset used to test the classifiers a little so that the test runs faster.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403760
2010-07-23 21:36:06 +00:00
Davis King 12a3b2a814 Added an implementation of kernel ridge regression.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403759
2010-07-23 20:50:37 +00:00
Davis King bc0e12f2af Changed code slightly to avoid a warning from gcc.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403758
2010-07-23 20:20:34 +00:00
Davis King e93e9560a1 cleanup
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403757
2010-07-23 00:16:11 +00:00
Davis King c0317bc2b1 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403756
2010-07-18 22:01:21 +00:00
Davis King 3b300569de Added a comment
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403755
2010-07-18 20:04:38 +00:00
Davis King 334b5ec333 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403754
2010-07-18 20:04:18 +00:00
Davis King 5724b4b45a Moved the discussion of matrix expressions into its own example file. Also
expanded it with examples of how to create new matrix expressions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403753
2010-07-18 19:57:34 +00:00
Davis King 5a019f0a04 Changed the way the parameter search is done so that it will produce more reasonable results
for a wider range of datasets.  This way people who cut and paste from this code should have
an easier time getting it to work with their data.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403752
2010-07-17 16:47:50 +00:00
Davis King 22c58d2b2b added missing #include
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403751
2010-07-17 16:22:17 +00:00
Davis King b999545191 minor change to avoid compiler error in visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403750
2010-07-17 15:10:12 +00:00
Davis King e7c61b9fca Made the random_subset_selector serializable.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403749
2010-07-17 15:01:11 +00:00
Davis King d9fdab2c58 Fixed typo
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403748
2010-07-17 14:54:06 +00:00
Davis King f7f9d81ab2 updated spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403747
2010-07-17 14:31:22 +00:00
Davis King e324486483 - Made the random number generator serializable
- Fixed a bug in the random number generator where setting the seed back to ""
   didn't result in the object going back to it's initial state.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403746
2010-07-17 14:24:41 +00:00
Davis King fcf61e2f42 Changed the configure_loggers_from_file() function so that it throws a
specific exception rather than dlib::error upon encountering a problem.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403745
2010-07-17 13:33:29 +00:00
Davis King 9d09a8db3d Added a comment about picking a reasonable gamma.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403744
2010-07-17 12:31:34 +00:00
Davis King 05598b44fd Fixed a bug where private inner classes showed up as protected inner classes.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403743
2010-07-14 22:55:44 +00:00
Davis King e162c18c82 Improved pretty printing
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403742
2010-07-08 01:57:28 +00:00
Davis King 28f2b63ef0 updated stylesheet
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403741
2010-07-08 01:45:46 +00:00
Davis King c9a1140c0b updated stylesheet
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403740
2010-07-08 01:41:41 +00:00
Davis King 48ab1f367a Made the output distinguish between public and protected class elements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403739
2010-07-08 01:26:28 +00:00
Davis King 7bc78fcc2c Improved parsing some more.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403738
2010-07-08 00:56:33 +00:00
Davis King 76861bdf30 Added some missing commas
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403737
2010-07-08 00:24:12 +00:00
Davis King abc6f88b22 Fixed the segmentation fault inducing bug I just added a moment ago.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403736
2010-07-07 23:43:30 +00:00
Davis King 4c9f271559 Added the -t option which enables you to replace tabs with spaces
in comments.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403735
2010-07-07 23:35:32 +00:00