Commit Graph

160 Commits

Author SHA1 Message Date
Davis King
76eaef5df2 Minor changes to avoid compile time errors when using visual studio 10.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403805
2010-08-14 03:33:52 +00:00
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
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
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
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
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
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
e93e9560a1 cleanup
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403757
2010-07-23 00:16:11 +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
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
38df0ad708 Added a comment
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403716
2010-07-02 00:38:21 +00:00
Davis King
7f6758181f Made a comment more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403715
2010-07-02 00:32:43 +00:00
Davis King
991e8946b1 Made these examples more robust. Now if the server's start() function throws an
exception it will be printed right away rather than after the user hits
the enter key.  I also removed the global server objects since that was
pretty sketchy too.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403713
2010-07-02 00:26:59 +00:00
Davis King
b9f602e1b6 Updated this example so that it shows how to pass arguments to threads
by reference using the ref() function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403712
2010-07-02 00:23:42 +00:00
Davis King
ea551f7953 Added missing #include
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403690
2010-06-13 15:23:39 +00:00
Davis King
0d148fea23 Updated this example to use the new fill_lisf() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403677
2010-06-07 01:02:11 +00:00
Davis King
0d775acbe6 Added some comments
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403635
2010-05-16 19:11:48 +00:00
Davis King
812057913e Improved example a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403631
2010-05-16 17:54:19 +00:00
Davis King
5c05797532 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403630
2010-05-16 17:44:26 +00:00
Davis King
abc868779c Updated example to use new ekm.load(lisf) function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403617
2010-05-15 16:15:16 +00:00
Davis King
ef6d71c436 Improved example program
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403607
2010-05-14 00:52:19 +00:00
Davis King
49dfe07141 Added an example program for the linear_manifold_regularizer.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403600
2010-05-13 02:46:17 +00:00
Davis King
bdd9b4e99e Changed comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403599
2010-05-13 01:57:29 +00:00
Davis King
89ad150f53 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403595
2010-05-12 23:48:52 +00:00
Davis King
8ebae5b954 Made comments more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403567
2010-04-23 20:52:18 +00:00
Davis King
3a588a9aa4 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403560
2010-04-02 12:56:57 +00:00
Davis King
b22f88c329 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403542
2010-03-06 15:08:03 +00:00
Davis King
6f0f59def3 Added a call to set_c() to this example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403524
2010-03-03 03:36:26 +00:00
Davis King
e5d719e20a Updated example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403518
2010-03-01 04:38:42 +00:00
Davis King
3a04fa1436 Added some comments about testing a function that computes gradients
against the dlib::derivative() function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403469
2010-02-17 00:12:46 +00:00
Davis King
cf1939fc3c Initialized best_gamma to avoid a warning from gcc.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403468
2010-02-16 23:57:33 +00:00
Davis King
5c5bc58026 Added some comments and cleaned up code slightly.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403420
2010-01-29 00:31:39 +00:00
Davis King
35377a88e3 Clarified proper use of maximum_nu().
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403418
2010-01-28 23:37:21 +00:00
Davis King
4ccc32127e Made comments more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403356
2010-01-04 22:13:24 +00:00
Davis King
c5d4b20c80 Cleaned up a few things
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403355
2010-01-04 03:33:26 +00:00
Davis King
6b400564d0 Added an example program for the empirical_kernel_map.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403352
2010-01-04 02:42:59 +00:00
Davis King
2b33cfa1b9 Fixed spelling error
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403350
2010-01-03 21:10:36 +00:00
Davis King
13671c964c Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403344
2010-01-02 06:17:29 +00:00
Davis King
f7707c11c6 Updated this example so that the output from the -h option listed
the correct name of the program.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403314
2009-12-10 01:03:10 +00:00
Davis King
ea67271ac2 Made some comments more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403309
2009-12-05 20:01:22 +00:00
Davis King
c01632ee3f Added a try/catch block around the code in main().
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403299
2009-12-05 00:54:12 +00:00
Davis King
b812367930 Updated the example programs so that there isn't this confusing use of the
phase "support vectors" all over the place.  Also fixed them to compile now
that I renamed the support_vectors field in decision_function to basis_vectors.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403279
2009-11-29 18:59:24 +00:00
Davis King
db593db64e Updated example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403276
2009-11-29 15:56:41 +00:00
Davis King
6356230ccc Fixed some spelling errors.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403275
2009-11-29 15:52:54 +00:00
Davis King
e12488258e Minor cleanup in example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403272
2009-11-29 13:55:42 +00:00
Davis King
1619f92101 Fixed typo in comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403264
2009-10-24 18:53:03 +00:00
Davis King
cf156afa68 Fixed tabbing.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403260
2009-10-20 23:02:35 +00:00
Davis King
8c7fb83ac5 Fixed grammar and general cleanup.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403258
2009-10-19 03:08:26 +00:00