Commit Graph

214 Commits

Author SHA1 Message Date
Davis King
8ce84862a9 Added an example program for the new assignment learning tools. 2011-12-11 17:15:18 -05:00
Davis King
d89d784a95 Just added a try/catch block around the whole program. 2011-12-10 11:41:43 -05:00
Davis King
ea26c37bad Updated example to reflect relaxed feature extraction interface. 2011-12-07 23:12:40 -05:00
Davis King
b194c7b148 Cleaned up example slightly 2011-11-06 09:45:19 -05:00
Davis King
4e9dd6dda9 clarified a few comments 2011-11-04 18:26:34 -04:00
Davis King
f18acdf81c Added a bunch of comments 2011-11-03 23:51:45 -04:00
Davis King
d933439a08 Simplified the sequence_labeler interface a bit. 2011-11-03 20:42:40 -04:00
Davis King
90c9d0be6e cleaned this up a little 2011-11-03 19:17:53 -04:00
Davis King
29964d2858 improved example a little 2011-11-03 18:56:03 -04:00
Davis King
fdc8950707 Changed code a little to make the reject_labeling() routine optional.
Now if you don't define it you get a reasonable default behavior
rather than a compiler error.
2011-11-02 23:21:05 -04:00
Davis King
e6a01acf60 Added an initial version of an example program for the sequence_labeler.
--HG--
rename : examples/svm_ex.cpp => examples/sequence_labeler_ex.cpp
2011-11-02 22:40:18 -04:00
Davis King
afddb2d43b fixing grammar. 2011-10-22 11:42:10 -04:00
Davis King
e8fbcc7e9c fixed grammar 2011-10-22 11:26:35 -04:00
Davis King
27a6ad4560 Added a blur step to the edge finding example. 2011-09-24 18:40:06 -04:00
Davis King
428a36efdf fixed grammar 2011-09-18 22:12:11 -04:00
Davis King
948340478e minor fix 2011-09-17 16:30:38 -04:00
Davis King
ed7c344a53 Added some examples for the new object detection stuff. 2011-09-17 16:23:06 -04:00
Davis King
cafa17c836 Changed the test_regression_function() and cross_validate_regression_trainer()
routines so they return both the MSE and R-squared values rather than just the
MSE.
2011-09-10 21:24:08 -04:00
Davis King
5a5ec05153 Updated same so it compiles with the current version of the krr_trainer. 2011-09-02 18:08:38 -04:00
Davis King
8d6cec1d36 Updated examples to work with new ridge regression interface. 2011-08-24 21:36:50 -04:00
Davis King
60a1de67e1 Simplified the cmake files by putting the stuff to make Release
the default build into a single file.
2011-06-19 18:12:46 -04:00
Davis King
7638057b63 fixed grammar 2011-06-07 22:39:48 -04:00
Davis King
b6ae2a6d68 Improved the thread_pool example program. 2011-06-07 22:27:12 -04:00
Davis King
5826b562e2 Fixed grammar in comments. 2011-06-05 10:26:36 -04:00
Davis King
3bc36fe1a2 minor cleanup 2011-06-03 22:35:05 -04:00
Davis King
54fded51bf Added an example showing how to create custom kernels.
--HG--
rename : examples/krr_classification_ex.cpp => examples/using_custom_kernels_ex.cpp
2011-06-03 22:15:14 -04:00
Davis King
05f299f5ea Fixed grammar. 2011-05-28 20:02:04 -04:00
Davis King
eaa0b45c15 Cleaned up this example a little. 2011-05-28 11:18:17 -04:00
Davis King
5e384614be Changed the array2d object so you don't have to say array2d<type>::kernel_1a
anymore to declare it.  Now you just say array2d<type>.
2011-05-28 10:26:29 -04:00
Davis King
35a6408f8e Simplified examples by using load_image() instead of load_bmp() 2011-05-28 09:52:27 -04:00
Davis King
cff821d8fe Added example output
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404280
2011-05-14 18:17:49 +00:00
Davis King
05ed2b5ba6 Added an example program for the bridge object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404278
2011-05-14 18:09:06 +00:00
Davis King
ab8bfefaa0 Renamed rand::float_1a to rand.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404251
2011-05-04 21:24:12 +00:00
Davis King
75d89e258b Updated example to not use ::kernel_1a syntax.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404227
2011-04-18 18:49:57 +00:00
Davis King
d57e10098e updated example to not use ::kernel_1a syntax.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404224
2011-04-18 18:23:04 +00:00
Davis King
55784ffee6 Simplified pipe examples by removing the ::kernel_1a stuff now that it is
no longer required.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404219
2011-04-18 14:38:10 +00:00
Davis King
9fd2906bd1 Added a comment about using lambda functions as event handlers.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404140
2011-02-08 23:59:12 +00:00
Davis King
b233e3eece Simplified example a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404086
2011-01-01 23:13:15 +00:00
Davis King
df24f5a412 Added a call to cross_validate_regression_trainer()
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404064
2010-12-31 15:04:49 +00:00
Davis King
b5a3dbda00 Added a SVR example program
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404061
2010-12-31 14:17:51 +00:00
Davis King
73c0598c1b Made a comment clearer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404060
2010-12-31 13:58:00 +00:00
Davis King
4c996b51b1 removed the svn:executable flag from a bunch of .cpp files
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404058
2010-12-31 05:02:38 +00:00
Davis King
9726080bd0 Added another multiclass example program
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404056
2010-12-31 04:53:44 +00:00
Davis King
d20baf6bba Added a multiclass example program
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404052
2010-12-30 18:59:13 +00:00
Davis King
58ee5c6696 Changed this example so it recommends using stream.peek()!=EOF instead of stream.good()
to detect the end of the stream.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404011
2010-12-22 20:41:59 +00:00
Davis King
706b343d5a Changed the example program to suggest a logarithmic grid search
rather than one that takes linear steps.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404010
2010-12-22 20:37:31 +00:00
Davis King
c20fb45c45 Added an example program showing how to use the least squares optimization
routines.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403945
2010-12-04 19:37:58 +00:00
Davis King
97a37ae357 Updated example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403911
2010-11-18 03:14:51 +00:00
Davis King
674fd7aa5b Updated matrix example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403910
2010-11-18 01:29:32 +00:00
Davis King
84bd5a6187 Fixed this example to work now that dictionary_size() is called size()
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403894
2010-11-12 23:14:44 +00:00