Commit Graph

584 Commits

Author SHA1 Message Date
Davis King
773fe59a34 Fixed grammar 2014-12-27 15:05:25 -05:00
Davis King
f3da116159 Added an example for svm_c_trainer. 2014-12-09 18:13:45 -05:00
Davis King
ad99a6668e Added an example program for the new hough_transform object. 2014-12-09 17:40:19 -05:00
Davis King
bb673f4099 Added example of accessing individual pixels 2014-12-09 08:08:02 -05:00
Davis King
f00c7e0f42 Added max cost assignment example program 2014-12-07 12:11:13 -05:00
Davis King
664ea355f4 Another minor cmake change to avoid warnings 2014-12-06 08:34:19 -05:00
Davis King
ae826a408f Increased min required cmake version to avoid warnings
from OpenCV cmake scripts.
2014-11-15 12:10:31 -05:00
Davis King
dac39d2b95 Added an example showing how to use OpenCV's frame grabber
for face pose estimation.
2014-11-15 11:39:26 -05:00
Davis King
3eae0bcb00 Changed example to avoid tying a stream to itself since some iostream libraries
have a bug that causes them to crash when you do this.
2014-09-30 19:21:38 -04:00
Davis King
f4f395975e Added scope qualifiers to some mutex objects to avoid a name collision
in newer versions of clang.
2014-09-27 09:57:28 -04:00
Davis King
5c78a9c3a6 Updated style sheet so face parts aren't all smashed together when viewed in a
browser.
2014-09-17 20:37:26 -04:00
Davis King
bd4056346b Added code to show how to chip out the faces. 2014-09-06 15:44:09 -04:00
Davis King
5e4aaf2e53 improved examples 2014-08-24 10:37:19 -04:00
Davis King
b191400a00 Added initial version of shape training example 2014-08-21 22:42:48 -04:00
Davis King
5ae170c461 Added a face landmarking example program 2014-08-21 22:11:55 -04:00
Davis King
dd3bf1f2c5 Changed the example to recommend using something like the f1-score when using
BOBYQA for model selection.
2014-06-23 16:06:23 -04:00
Davis King
e3af40d5a5 Updated example to use evaluate_detectors() 2014-05-26 18:46:35 -04:00
Davis King
c6d778eaf9 Made the examples use the new simplified file serialization API. 2014-05-08 21:07:56 -04:00
Davis King
be7457770e Fixed minor typos 2014-04-26 19:56:18 -04:00
Davis King
d763696f68 Added an example program showing how to setup a logger hook 2014-04-26 17:32:06 -04:00
Davis King
2821926236 merged changes and updated abstract file. 2014-04-22 20:13:47 -04:00
Davis King
137b7f80c8 Simplified example program. 2014-04-05 16:56:48 -04:00
Csaba Kertesz
31078adee9 Add maximal iterations option for relevance vector machine trainer 2014-03-16 12:19:19 +01:00
Davis King
8e1e548a70 Updated this example to use the scan_fhog_pyramid version of the object
detector since it is much more user friendly.
2014-03-08 13:12:48 -05:00
Davis King
1e9a6297dc fixed grammar 2014-01-12 10:15:46 -05:00
Davis King
e66fa51ebe clarified examples 2014-01-11 22:40:43 -05:00
Davis King
4f8a93975f clarified example 2014-01-11 14:52:28 -05:00
Davis King
015727cd5f clarified example 2014-01-11 11:30:52 -05:00
Davis King
ba37c88fbf Clarified examples now that we have more object detectors in the library. 2014-01-11 10:40:39 -05:00
Davis King
20afefd79b clarified example 2014-01-09 23:23:04 -05:00
Davis King
c7346758d8 improved example program documentation 2014-01-09 23:19:44 -05:00
Davis King
f698db9cb5 Slightly improved example. Still needs a lot of work though. 2014-01-05 20:01:49 -05:00
Davis King
20dde81bd1 Added comments to this example program 2014-01-05 13:53:21 -05:00
Davis King
417c5578e1 Added face detection example program 2014-01-02 20:53:28 -05:00
Davis King
101e316fd1 Added comments about the source of the face images 2014-01-02 18:49:05 -05:00
Davis King
f12921390a A minor change to avoid compiler warnings. 2013-04-22 08:23:24 -04:00
Davis King
5000b9f0ac Added more comments about how to pack multiple detectors into a single
object_detector.
2014-03-07 19:45:18 -05:00
Davis King
f5a717a5fa Fixed warning on visual studio. 2014-03-01 21:38:47 -05:00
Davis King
c7227d8f41 Added more comments 2014-02-22 17:49:33 -05:00
Davis King
114f677d74 Fixing grammar in comments. 2014-02-22 16:07:17 -05:00
Davis King
f9d3da11d0 Fleshed out example program. 2014-02-22 15:52:28 -05:00
Davis King
5bcfa6853e added more comments 2014-02-20 22:45:46 -05:00
Davis King
8296869bed Added initial version of the learning to track example program. 2014-02-20 22:39:48 -05:00
Davis King
746f4282dd Fixed awkward wording 2014-02-05 18:16:11 -05:00
Davis King
43ce7908b9 Added skeleton of fhog object detection example. 2014-01-01 19:12:06 -05:00
Davis King
1cff4030b9 fixed #include 2013-11-17 20:26:37 -05:00
Davis King
8c89480d1b Fixed broken #include 2013-11-17 19:18:52 -05:00
Davis King
46bb6dc8f5 Added code showing how to get the individual decision functions out of a
multiclass decision function object.
2013-11-17 13:47:26 -05:00
Davis King
49f8b2860f Clarified matrix usage in the examples 2013-11-17 12:42:41 -05:00
Davis King
8fc2f43607 Fixed grammar/confusing sentence. 2013-11-16 09:15:52 -05:00
Davis King
3fa470e809 Added missing #include to example 2013-11-05 18:31:29 -05:00
Davis King
7eadede7ae Clarified some things in the example and also added code showing how to use the
new bounds constrained solver.
2013-10-04 22:13:03 -04:00
Davis King
e0a6e30581 Refactored the image pyramid code. Now there is just one templated object,
pyramid_down and you give it the downsampling amount as a template argument.
2013-10-03 21:36:51 -04:00
Davis King
c9339b7934 Fixed grammar and added minor clarifications 2013-10-01 23:05:46 -04:00
Davis King
cd431a5bb0 Added an example for the new HOG feature extractor.
--HG--
rename : examples/image_ex.cpp => examples/fhog_ex.cpp
2013-10-01 22:58:56 -04:00
Davis King
fdd035f451 Removed a bunch of checks that prevented users from using references to
functions with the optimization code and forced the use of function pointers.
This was to avoid triggering a bug in gcc 4.0.  Since that compiler is no
longer officially supported by dlib I've removed these checks to increase
usability.
2013-09-21 14:37:54 -04:00
Davis King
47dbb7b8cd removed unneeded #includes 2013-09-10 19:35:55 -04:00
Davis King
c72f709bbc Fixed incorrect type used for iterator in example program. 2013-08-10 09:21:01 -04:00
Davis King
c87571ce4e clarified example 2013-08-08 19:37:29 -04:00
Davis King
e20a2190e2 Added structural svm solver example program 2013-08-08 19:07:50 -04:00
Davis King
36d5677a26 Updated example program to work best with the new code 2013-08-06 00:33:50 -04:00
Davis King
1b23bb13e9 Updated comments in examples to account for recent code change. 2013-07-25 20:38:23 +10:00
Davis King
06d1331c4d Fixed incorrect comment in example program. 2013-07-13 16:30:22 -04:00
Davis King
5dace981d8 Updated matrix example to show how to print in csv format. 2013-07-08 22:19:44 -04:00
Davis King
f74ccbdabc Improved instructions for avoiding the black console window when using visual studio. 2013-06-22 22:49:36 -04:00
Davis King
c3909170e8 updated example 2013-06-16 12:07:32 -04:00
Davis King
c1c6fb505a improved sequence segmentation examples 2013-06-06 20:27:29 -04:00
Davis King
51d291a8c3 clarified example program 2013-06-04 21:33:59 -04:00
Davis King
3330d34fd1 Added an example for the sequence_segmenter 2013-06-03 21:26:56 -04:00
Davis King
e8276602c1 Removed non-standard header which wasn't compiling in visual studio 2005 2013-06-03 07:03:02 -04:00
Davis King
caf93adea1 fixed grammar 2013-06-01 19:29:40 -04:00
Davis King
dc24bef443 fixed some typos 2013-06-01 19:20:03 -04:00
Davis King
94d3cf86d5 Added a one class classifier example program 2013-06-01 19:14:31 -04:00
Davis King
d93a02e803 Minor cleanup 2013-05-24 21:52:44 -04:00
Davis King
7897b163e5 updated examples cmake file 2013-05-24 21:42:40 -04:00
Davis King
de48f60106 minor cleanup and formatting 2013-05-24 21:34:24 -04:00
Davis King
ad427072d5 merged 2013-05-24 21:16:50 -04:00
Steve Taylor
e032a77ed4 Renamed numerical integration header to dlib/numerical_integration.h. Changed relevant headers to include numerical_integration.h Fixed documentation in integrate_function_adapt_simpson_abstract.h 2013-05-24 01:02:20 -04:00
Steve Taylor
6ca3a9f2e9 Implemented a numerical quadrature method based on an adaptive
Simpson rule.  Added unit tests and supporting examples for this
function.
2013-05-22 22:36:33 -04:00
Steve Taylor
bf38cba574 Implemented a numerical quadrature method based on an adaptive
Simpson rule.  Added unit tests and supporting examples for this
function.
2013-05-19 20:52:19 -04:00
Davis King
6be288652a Made example slightly clearer. 2013-05-18 08:37:19 -04:00
Davis King
13b8c5f3d5 Simplified example and added a call to jet() 2013-05-14 20:29:05 -04:00
Steve Taylor
691e1ab17a Updated numeric_constants.h. Added a first version of
a numerical integration method to /examples/adapt_simp.cpp
2013-05-04 19:39:57 -04:00
Davis King
adf0bc4f0a clarified examples 2013-04-12 20:52:05 -04:00
Davis King
fc6d6744d8 updated comments 2013-04-09 17:45:42 -04:00
Davis King
50b636c131 Added notes that the object detector validation methods also output MAP values. 2013-03-31 15:45:56 -04:00
Davis King
7ff4f6f485 clarified example 2013-03-30 21:57:54 -04:00
Davis King
9f530e06f7 Removed unneeded #include 2013-03-17 14:00:50 -04:00
Steve Taylor
a75645b1af Added a numerical constants file numeric_constants.h. Expanded the
running_stats object in statistics.h by including two functions that
compute the unbiased empirical skewness and kurtosis of a set
of real numbers.  Added unit tests for these functions in statistics.cpp.
2013-03-17 13:32:30 -04:00
Davis King
a97a2c90f2 simplified SURF example program 2013-03-03 17:25:10 -05:00
Davis King
26639d629b minor change to avoid compiler warning 2013-03-03 16:33:35 -05:00
Davis King
94d1e7874f Changed code slightly to avoid a bug in gcc 4.1.2 2013-03-03 16:27:49 -05:00
Davis King
a3b6df3ef3 Added get_next_double_click() to the image_ex example. 2013-03-03 12:46:07 -05:00
Davis King
ce6bdde581 improved comments 2013-03-03 12:13:05 -05:00
Davis King
649ed2f160 updated example 2013-03-03 12:05:14 -05:00
Davis King
1f8f1261e3 Added scope qualifiers to dlib::array so there isn't a name conflict
on C++11 compilers.
2013-03-03 10:40:33 -05:00
Davis King
67c7ebd5d6 Added initial version of parallel for loop example 2013-03-02 23:43:46 -05:00
Davis King
f52f4522b1 Added a comment. 2013-02-18 09:14:25 -05:00
Davis King
0a39006dea Simplified cmake scripts 2013-02-10 14:14:33 -05:00
Davis King
596201e72d clarified print statements 2013-01-26 16:44:46 -05:00
Davis King
cd8ba14ff0 Added an example showing how to use second derivative information
when using the optimization tools.
2013-01-26 16:37:38 -05:00
Davis King
03ec260cb3 reformatted comments. 2013-01-17 19:20:38 -05:00
Davis King
91e8594b23 made examples slightly clearer 2013-01-17 19:18:35 -05:00
Davis King
64a5789fdf simplified code 2013-01-08 20:54:35 -05:00
Davis King
d7df21a8e1 switched examples over to the new mat() method. 2012-12-23 09:25:22 -05:00
Davis King
afdb28f073 updated comment 2012-12-16 09:06:56 -05:00
Davis King
962ba9ae94 Added a discussion of the parser's set_group_name() method. 2012-12-12 21:01:05 -05:00
Davis King
34f28d4ad6 Minor cleanup 2012-12-12 19:58:18 -05:00
Davis King
d84b5d822e Added a comment telling the user that there are higher level threading
tools they would probably prefer to use.
2012-12-08 16:14:26 -05:00
Davis King
7b43a3c6ac All I did in this change was switch from using #include "" syntax
to #include <> syntax.
2012-12-08 09:32:13 -05:00
Davis King
3956330d1f simplified examples 2012-12-05 19:36:39 -05:00
Davis King
bad30bcf86 Fixed grammar 2012-11-23 22:41:09 -05:00
Davis King
cc2de0e9c0 Improved the ranking example 2012-11-23 18:15:56 -05:00
Davis King
5e8da51849 Added initial version of svm rank example 2012-11-23 16:09:41 -05:00
Davis King
259a4542a8 Simplified example 2012-11-18 13:20:49 -05:00
Davis King
bfb25b68ec Simplified code 2012-11-18 13:01:08 -05:00
Davis King
e7baa76655 added a comment 2012-11-18 00:34:21 -05:00
Davis King
0b7e3020de Added the parse_xml() routines 2012-11-18 00:29:51 -05:00
Davis King
b3254eaf0c simplified code 2012-11-17 23:53:22 -05:00
Davis King
0eb9fb52f5 simplified example 2012-11-17 23:17:17 -05:00
Davis King
93a232d3e0 Fixed bugs in examples. 2012-11-17 14:55:49 -05:00
Davis King
37a8bfebc9 Added an example for the iosockstream and server_iostream objects. Also
reorganized the sockets example programs a little.

--HG--
rename : examples/sockstreambuf_ex.cpp => examples/server_iostream_ex.cpp
rename : examples/sockets_ex_2.cpp => examples/sockstreambuf_ex.cpp
2012-11-17 14:48:42 -05:00
Davis King
06501db2e8 simplified examples 2012-11-17 12:07:04 -05:00
Davis King
0f300f703b fixed grammar 2012-11-15 18:24:21 -05:00
Davis King
64539e6530 fixed grammar 2012-11-12 20:09:03 -05:00
Davis King
c495350d53 added comments to this example program 2012-11-12 19:26:28 -05:00
Davis King
e9e0b65d6f simplified example program 2012-11-12 16:07:13 -05:00
Davis King
f7165919bf Simplified example programs 2012-11-12 15:25:35 -05:00
Davis King
1493769dee removed cruft 2012-11-12 09:46:20 -05:00
Davis King
46cbfba856 Added a reference to a useful book 2012-11-08 20:46:35 -05:00
Davis King
943874c5a7 fixed spacing 2012-11-07 21:45:06 -05:00
Davis King
35d390282f Updated examples to use simpler syntax. 2012-11-07 21:41:50 -05:00
Davis King
444dd70d34 Removed try/catch block since it is now redundant 2012-11-07 18:11:28 -05:00
Davis King
4c3578dd7f updated http example 2012-11-06 22:36:24 -05:00
Davis King
655d3e1f74 updated example #include 2012-11-04 20:46:31 -05:00
Davis King
ac4598aeaa Made example show how to use connect_to() 2012-10-24 23:05:33 -04:00
Davis King
6bf4a648b0 Minor cleanup 2012-10-22 21:25:07 -04:00
Davis King
8319811880 Simplified example programs slightly 2012-10-21 22:08:48 -04:00
Davis King
12a393f3a8 code cleanup 2012-10-21 19:40:19 -04:00
Davis King
6a05573ec8 Added a BSP example. 2012-10-21 19:22:42 -04:00
Davis King
2c1332b382 Updated examples to use the simpler start_async() to start the servers. 2012-08-31 21:48:34 -04:00
Davis King
e19f5d65fe updated docs and specs 2012-08-26 15:07:28 -04:00
Davis King
3bcab68a3e Fully qualified some more dlib set objects. 2012-08-24 23:16:01 -04:00
Davis King
d1b579f09e Added try/catch block to main(). 2012-07-29 20:18:00 -04:00
Davis King
8656a2d0be Fixed spelling errors in comments. 2012-07-10 21:50:17 -04:00
Davis King
f3310e68e5 Polished the example a little. 2012-05-20 22:10:25 -04:00
Davis King
371e3f397a Simplified code slightly. 2012-05-20 20:25:01 -04:00
Davis King
3243bbfd15 Added an example program for the new graph labeling stuff. 2012-05-20 18:25:49 -04:00
Davis King
08a95a42ed Flipped the order of two commands so that the selected object boxes
are printed immediately.
2012-04-04 20:19:55 -04:00
Davis King
1d3b429f40 improved comments 2012-03-22 18:44:47 -04:00
Davis King
33939c4990 fixed comment 2012-03-21 21:37:27 -04:00
Davis King
c42a26be9d updated cmakelists 2012-03-21 21:09:01 -04:00
Davis King
2668d1baa2 updated due to name change 2012-03-21 21:08:33 -04:00
Davis King
f477c84261 renamed this file
--HG--
rename : examples/object_detector_ex_2.cpp => examples/train_object_detector.cpp
2012-03-21 21:07:51 -04:00
Davis King
fa58967115 Added another object detection example program
--HG--
rename : examples/object_detector_ex.cpp => examples/object_detector_ex_2.cpp
2012-03-21 21:07:05 -04:00
Davis King
62f4f823e0 Made this example use the verbose version of setup_grid_detection_templates(). 2012-03-20 18:12:37 -04:00
Davis King
3432108e46 Added an example use of heatmap() 2012-03-18 16:38:11 -04:00
Davis King
ad1c665ab4 All I did in this commit was remove any of the ::kernel_1a, ::expand_1a,
qualifiers from any uses of dlib::array.
2012-03-10 14:51:55 -05:00
Davis King
f94eb9045f Simplified code a little 2012-02-11 13:15:17 -05:00
Davis King
e7261af02a updated examples to use get_option() 2012-02-03 00:07:08 -05:00
Davis King
dd2a646851 Made code more consistent. 2012-01-21 16:58:13 -05:00
Davis King
3a4f1c0e4d Further simplified these examples. 2012-01-21 16:52:54 -05:00
Davis King
55c1d6cdef Simplified these examples slightly. 2012-01-21 16:43:08 -05:00
Davis King
df415d7e1d I changed the sequence labeling stuff to allow a user defined
sequence type.  So these changes are basically just renaming some
template arguments and minor changes to some typedefs.
2012-01-21 11:51:22 -05:00
Davis King
6e06db71d1 Changed example so the cross validation comes out right. 2012-01-07 13:11:02 -05:00
Davis King
444f42ebcf Clarified a comment. 2012-01-01 17:55:56 -05:00
Davis King
76277c881e Clarified comment. 2011-12-27 10:27:59 -05:00
Davis King
8808006cf2 updated examples 2011-12-26 21:43:07 -05:00
Davis King
f1f9a018cf Fixed some comments. 2011-12-11 23:36:15 -05:00
Davis King
3bcd9df592 made comment more clear 2011-12-11 17:29:47 -05:00
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
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