Commit Graph

402 Commits

Author SHA1 Message Date
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
Davis King
9cab0eca08 Updated the examples to use dlib::sa rather than string_cast.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403878
2010-11-10 01:10:22 +00:00
Davis King
9181bfd809 Fixed a typo found by Matt P. Dziubinski
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403875
2010-11-09 23:02:00 +00:00
Davis King
3eb5d81644 Added comments about using randomly_subsample() when using compute_mean_squared_distance()
with large datasets.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403815
2010-09-10 17:14:52 +00:00
Davis King
b6f6ab7219 Updated hyperlink
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403811
2010-08-26 15:16:54 +00:00
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
Davis King
2f4217c799 Updated the example programs regarding model selection.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403256
2009-10-19 02:43:41 +00:00
Davis King
98d7f450ee Added item to cmake lists file and changed slightly so it compiles in visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403253
2009-10-16 19:16:52 +00:00
Davis King
d48a34c39e Adding initial version of this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403252
2009-10-16 18:05:58 +00:00
Davis King
7f7e21917d Cleaned up a few things.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403250
2009-10-16 15:36:11 +00:00
Davis King
e8f8f3936f Improved this a little more.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403249
2009-10-16 15:02:30 +00:00
Davis King
54613abb20 Made this example a little more interesting.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403247
2009-10-16 14:47:44 +00:00
Davis King
a36189a5fc Updated to work with changed ranking stuff.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403244
2009-10-16 01:17:14 +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
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
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
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
Davis King
50fd0ec14d Updated the optimization example to take account of the recent changes
to the optimization routines.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403188
2009-09-06 20:41:49 +00:00
Davis King
e1fef7b968 Fixed typo in comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403174
2009-08-30 14:10:42 +00:00
Davis King
17e5172d53 Changed the display size of the boxes in this example so that each
box is the same size as the SURF window.  I thought the smaller boxes
were easier on the eyes but not using the SURF window size is probably
confusing.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403172
2009-08-29 23:26:24 +00:00
Davis King
3b6f3f2014 Upped the number of sample vectors to 10000.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403148
2009-08-05 00:11:50 +00:00
Davis King
381230a58f Changed this example program so it used the cached version of the
batch_trainer object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403147
2009-08-05 00:10:23 +00:00
Davis King
6e88b1570c Refined the comments in this example program a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403140
2009-07-24 20:39:54 +00:00
Davis King
05e4bb6741 Changed code to avoid compiler warning.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403109
2009-07-10 15:54:22 +00:00
Davis King
20a39403b0 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403088
2009-05-30 18:41:37 +00:00
Davis King
56c1c729b5 Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403086
2009-05-30 18:31:51 +00:00
Davis King
1a55d39afd Minor comment cleanup.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403085
2009-05-30 18:25:58 +00:00
Davis King
209cbbe356 Added an example showing how to use the config_reader.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403084
2009-05-30 18:01:38 +00:00
Davis King
8bbaca6fc1 Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403082
2009-05-30 15:41:38 +00:00
Davis King
950147aa91 Added a comment about the configure_loggers_from_file() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403080
2009-05-30 14:59:59 +00:00
Davis King
8204dd7c9b Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403072
2009-05-29 15:58:50 +00:00
Davis King
ee9b19f0e0 Added the new SURF example to the CMakeLists.txt file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403059
2009-05-25 00:47:32 +00:00
Davis King
d568bd04c3 Adding a new example program for the SURF algorithm.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403052
2009-05-25 00:00:50 +00:00
Davis King
9084b68032 Improved this example program.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403047
2009-05-21 01:41:29 +00:00
Davis King
b4cb5a8e4a Changed code to avoid gcc warning when -W and -Wall are used together.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403016
2009-04-24 22:58:41 +00:00
Davis King
cb3d2213cf Added a sparse SVM example.
--HG--
rename : examples/svm_pegasos_ex.cpp => examples/svm_sparse_ex.cpp
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402969
2009-03-22 21:31:27 +00:00
Davis King
cbdafe2ed2 Updated the image display example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402968
2009-03-22 18:26:33 +00:00
Davis King
1213a2ae7a Updated this example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402947
2009-03-18 02:06:59 +00:00
Davis King
7404ceb822 Updated the examples to make more sense with respect to the updated kcentroid.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402939
2009-03-16 03:26:54 +00:00
Davis King
43a7f59054 Updated the rank features example to discuss the newer kcentroid
max sv argument.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402938
2009-03-16 02:58:47 +00:00
Davis King
cd6f196eb7 Updated the kkmeans example to show how to use the new max sv
settings of the kcentroid.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402936
2009-03-15 23:24:08 +00:00
Davis King
0955ec45ba Update http server example to work with new interface.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402932
2009-03-15 13:45:37 +00:00
Davis King
c123f0c14e Updated this example to use the new svm_pegasos interface.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402929
2009-03-14 21:57:33 +00:00
Davis King
0b8492bedc Fixing grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402926
2009-03-14 20:40:31 +00:00
Davis King
50b3886d4a Fixed compiler error in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402917
2009-03-08 18:36:06 +00:00
Davis King
f197611dd6 Grammar and general cleanup.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402914
2009-03-08 18:01:43 +00:00
Davis King
61e6230cf4 Added an example program for the pegasos algorithm.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402912
2009-03-08 17:38:04 +00:00
Davis King
d95195cb2c Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402910
2009-03-08 16:07:34 +00:00
Davis King
cceadf370e Updated matrix example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402898
2009-03-06 20:33:23 +00:00
Davis King
49532acf87 Added licensing comments to the example programs.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402875
2009-02-17 01:45:57 +00:00
Davis King
3e664e8d95 Removed a confusing comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402852
2009-02-03 03:02:50 +00:00
Davis King
1e570983c9 Updated example now that the cholesky_decomposition has been renamed.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402848
2009-02-01 20:39:56 +00:00
Davis King
6c22a6dd36 Switched the dlog and tp objects so that their destruction orders
are safer.  This only matters if the user were to modify the example
such that tasks were still running after main() ends.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402839
2009-01-25 22:14:15 +00:00
Davis King
0dbb72588f Added an optimization example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402830
2009-01-23 02:38:20 +00:00
Davis King
c595039ca6 Fixed warning in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402825
2009-01-19 00:27:18 +00:00
Davis King
c02fd30aa1 Added some comments regarding the use of std::swap.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402816
2009-01-18 18:48:27 +00:00
Davis King
d524f26484 Fixed incorrect comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402814
2009-01-17 22:28:59 +00:00
Davis King
6c528a2020 Added an example for the type_safe_union object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402808
2009-01-16 04:13:43 +00:00
Davis King
a6d2f3ea4a Fixed compiler error.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402783
2009-01-04 20:46:58 +00:00
Davis King
b757fb61a2 Changed code so that it compiles in visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402782
2009-01-04 20:31:46 +00:00
Davis King
e492187c08 Adding a new example program.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402758
2008-12-25 00:32:29 +00:00
Davis King
9d42e9fae1 updated the matrix example program.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402749
2008-12-23 15:39:37 +00:00
Davis King
22770e2937 Fixed typo in a comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402725
2008-12-12 20:04:14 +00:00
Davis King
279e4d40f2 Added more stuff to the example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402723
2008-12-12 00:16:25 +00:00
Davis King
f2f4e57497 Updated the matrix example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402718
2008-12-11 03:13:46 +00:00
Davis King
acb0cae086 Updated the matrix example to use operator<< for matrix initialization.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402714
2008-12-09 02:54:49 +00:00
Davis King
30cfab2e05 Added a comparison of the dlib::matrix to Matlab and also just generally
improved the example as a whole.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402701
2008-12-04 03:15:49 +00:00
Davis King
0270e5ffa6 Updated the thread_pool example so that it mentions the new futures support.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402674
2008-11-28 01:33:18 +00:00
Davis King
fd6baebf1b Added some more comments to this example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402672
2008-11-28 00:11:06 +00:00
Davis King
d200a68404 Removed the constructor try/catch blocks from the gui examples
since they don't always compile in visual studio 7.1 and they
would probably confuse most people anyway.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402651
2008-11-10 23:57:03 +00:00
Davis King
a8a198d3ce Added a thread pool example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402634
2008-11-06 04:13:03 +00:00
Davis King
93542b8869 Added some stuff to a few of the examples regarding saving things to
disk with serialize().

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402622
2008-10-31 18:12:18 +00:00
Davis King
b07a618fd6 Fixed cmake file so that it is backwards compatible with cmake 2.4
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402616
2008-10-31 03:58:36 +00:00
Davis King
0784adb677 Renamed dragable to draggable.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402589
2008-10-24 03:31:13 +00:00
Davis King
1e103791c9 Changed cmakelists.txt so that cmake 2.6 doesn't give a warning.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402584
2008-10-22 21:12:31 +00:00
Davis King
f50af4d8e2 Switched the timer example to the more efficient version of the
timer object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402567
2008-10-15 03:07:25 +00:00
Davis King
1fc848fcf1 Updated the rvm example so that it uses the vector_normalizer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402560
2008-10-13 02:22:53 +00:00
Davis King
fa5aefdbb7 updated the svm example to use the vector_normalizer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402558
2008-10-12 22:35:32 +00:00
Davis King
41c9c2a202 Added some comments about setting the matrix size at runtime.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402548
2008-10-08 23:42:24 +00:00
Davis King
4115e78c5e Added dlib:: in front of the set.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402544
2008-10-07 12:49:09 +00:00
Davis King
c4ab461065 Updated the rank features example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402542
2008-10-07 02:24:23 +00:00
Davis King
e2c891f634 Added try/catch blocks to the constructors of GUI window objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402521
2008-09-25 20:39:17 +00:00
Davis King
4d396beecb Added more meat to a comment
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402515
2008-09-14 16:58:51 +00:00
Davis King
6be5d5a174 added an rvm regression example
--HG--
rename : examples/krls_ex.cpp => examples/rvm_regression_ex.cpp
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402513
2008-09-14 15:38:45 +00:00
Davis King
661f8f1637 Added an RVM example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402511
2008-09-14 13:47:26 +00:00
Davis King
bfad8f3ef6 Made this example simpler
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402505
2008-09-07 02:54:28 +00:00
Davis King
0aae909742 Added some comments to this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402499
2008-09-06 15:15:13 +00:00
Davis King
e295d55527 added more comments to the kcentroid example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402498
2008-09-06 14:50:36 +00:00
Davis King
7218589f0a Changed the sockets example so that it uses scoped_ptr to
contain the connection object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402469
2008-08-13 01:39:13 +00:00
Davis King
f08537883b Added reduced2() stuff to the svm example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402435
2008-07-25 03:28:36 +00:00
Davis King
8e8b04d975 fixed grammar and comment typos
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402423
2008-07-15 02:31:58 +00:00
Davis King
6d3c1e5484 updated cmake file to avoid warning
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402418
2008-07-12 20:45:15 +00:00
Davis King
77561ca13c Grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402394
2008-07-08 23:39:22 +00:00
Davis King
94f55bcaea Fix grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402382
2008-07-06 17:26:32 +00:00
Davis King
7a0447472a updated this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402381
2008-07-06 17:25:50 +00:00
Davis King
b51cc5c295 made this exampler simpler
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402379
2008-07-05 17:32:47 +00:00
Davis King
8c79cdfe81 updated this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402376
2008-07-05 17:18:12 +00:00
Davis King
c8bc446438 Added a rank_features() example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402372
2008-07-05 16:26:22 +00:00
Davis King
8fa3384277 set the subversion eol-style to native for these files
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402353
2008-06-22 22:56:19 +00:00
Davis King
8486314823 fixed compiler warning
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402350
2008-06-22 22:51:54 +00:00
Davis King
26b0f8f385 Changed version number in the bayes net gui code since this version
of the library breaks backwards compatibility with the old serialization
format used by this program.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402349
2008-06-22 22:20:11 +00:00
Davis King
7226d0b68b made the examples a little more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402345
2008-06-21 14:31:41 +00:00
Davis King
9de97a2e3e Improved this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402341
2008-06-19 02:21:56 +00:00
Davis King
6cd52824f8 Fixed the kkmeans example so that it actually makes points in a circle
instead of half circle.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402337
2008-06-17 00:05:08 +00:00
Davis King
05b3538698 updated the kkmeans example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402321
2008-06-15 15:16:26 +00:00
Davis King
84d403f421 Added an example that uses the krls object to do filtering.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402315
2008-06-14 13:32:12 +00:00
Davis King
94ebc5c338 Updated the comments
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402312
2008-06-14 02:18: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
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
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
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
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
db3f3c17ae Added some clarifying comments to the svm example and a version number to
the about window in the bayes net gui.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402223
2008-05-10 18:53:10 +00:00
Davis King
754da0ef3c Properly organized the svn repository. Finally.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402199
2008-05-02 14:19:38 +00:00