Commit Graph

62 Commits

Author SHA1 Message Date
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