Commit Graph

1458 Commits

Author SHA1 Message Date
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
22c58d2b2b added missing #include
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403751
2010-07-17 16:22:17 +00:00
Davis King
b999545191 minor change to avoid compiler error in visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403750
2010-07-17 15:10:12 +00:00
Davis King
e7c61b9fca Made the random_subset_selector serializable.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403749
2010-07-17 15:01:11 +00:00
Davis King
d9fdab2c58 Fixed typo
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403748
2010-07-17 14:54:06 +00:00
Davis King
f7f9d81ab2 updated spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403747
2010-07-17 14:31:22 +00:00
Davis King
e324486483 - Made the random number generator serializable
- Fixed a bug in the random number generator where setting the seed back to ""
   didn't result in the object going back to it's initial state.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403746
2010-07-17 14:24:41 +00:00
Davis King
fcf61e2f42 Changed the configure_loggers_from_file() function so that it throws a
specific exception rather than dlib::error upon encountering a problem.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403745
2010-07-17 13:33:29 +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
05598b44fd Fixed a bug where private inner classes showed up as protected inner classes.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403743
2010-07-14 22:55:44 +00:00
Davis King
e162c18c82 Improved pretty printing
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403742
2010-07-08 01:57:28 +00:00
Davis King
28f2b63ef0 updated stylesheet
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403741
2010-07-08 01:45:46 +00:00
Davis King
c9a1140c0b updated stylesheet
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403740
2010-07-08 01:41:41 +00:00
Davis King
48ab1f367a Made the output distinguish between public and protected class elements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403739
2010-07-08 01:26:28 +00:00
Davis King
7bc78fcc2c Improved parsing some more.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403738
2010-07-08 00:56:33 +00:00
Davis King
76861bdf30 Added some missing commas
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403737
2010-07-08 00:24:12 +00:00
Davis King
abc6f88b22 Fixed the segmentation fault inducing bug I just added a moment ago.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403736
2010-07-07 23:43:30 +00:00
Davis King
4c9f271559 Added the -t option which enables you to replace tabs with spaces
in comments.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403735
2010-07-07 23:35:32 +00:00
Davis King
1f2a110dec Made the --to-xml option's processing more robust. There were a few kinds of
statements which didn't get parsed correctly.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403734
2010-07-07 23:13:38 +00:00
Davis King
e4455f76ef updated README.txt
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403733
2010-07-07 02:51:57 +00:00
Davis King
a9f94b7836 Made output a little more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403732
2010-07-07 02:47:51 +00:00
Davis King
086b74bdaa minor update
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403731
2010-07-07 02:38:03 +00:00
Davis King
cadf5824e3 Updated htmlify manual.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403730
2010-07-07 02:31:13 +00:00
Davis King
80d44a99bc Moved example into its own folder
--HG--
rename : docs/htmlify/example.xml => docs/htmlify/to_xml_example/example.xml
rename : docs/htmlify/minus.gif => docs/htmlify/to_xml_example/minus.gif
rename : docs/htmlify/output.xml => docs/htmlify/to_xml_example/output.xml
rename : docs/htmlify/plus.gif => docs/htmlify/to_xml_example/plus.gif
rename : docs/htmlify/stylesheet.xsl => docs/htmlify/to_xml_example/stylesheet.xsl
rename : docs/htmlify/test.cpp => docs/htmlify/to_xml_example/test.cpp
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403729
2010-07-07 02:17:10 +00:00
Davis King
c26fe3492e added an example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403728
2010-07-07 02:15:21 +00:00
Davis King
ff54542157 Added XSLT for dealing with <code> blocks generated by the new --to-xml option
in htmlify.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403727
2010-07-07 01:41:33 +00:00
Davis King
cc32202a3a cleanup
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403726
2010-07-07 01:34:50 +00:00
Davis King
84e96b4f2c Actually, I'm removing these print statements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403725
2010-07-07 01:34:17 +00:00
Davis King
9d3cfe11e7 cleaned up print statements
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403724
2010-07-07 01:32:15 +00:00
Davis King
b2a394bcda Improved declaration pretty printing
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403723
2010-07-07 00:59:09 +00:00
Davis King
465ee3d4ae Changed so that file paths are relative to the folders being processed.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403722
2010-07-06 22:43:49 +00:00
Davis King
ca5de1e93e Fixed parsing problem
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403721
2010-07-06 02:04:59 +00:00
Davis King
025c00c8dd Renamed subclass to inner_class
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403720
2010-07-06 01:48:39 +00:00
Davis King
045d241650 Improved the XML output
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403719
2010-07-06 00:45:15 +00:00
Davis King
0604f4fc00 Added a mostly complete implementation of the --to-xml option.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403718
2010-07-05 13:17:35 +00:00
Davis King
694af0a025 Removed extra space
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403717
2010-07-05 12:18:36 +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
c6abad1f84 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403714
2010-07-02 00:31:24 +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
3ab9b590c0 Minor clarification.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403711
2010-07-02 00:05:17 +00:00
Davis King
8b84be8750 Renamed this file.
--HG--
rename : dlib/reference_wrapper.h => dlib/ref.h
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403710
2010-07-01 23:53:56 +00:00
Davis King
c5ca1b7600 Added a reference_wrapper implementation and modified the thread_function
slightly so it works with it.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403709
2010-07-01 23:52:16 +00:00
Davis King
b8aa8b2f55 Changed slightly to avoid compiler error from visual studio 7.1
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403708
2010-06-27 03:25:43 +00:00
Davis King
3a302e3f18 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403707
2010-06-27 02:46:28 +00:00
Davis King
25cf8c72dc updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403706
2010-06-27 02:37:11 +00:00
Davis King
2183d6fea7 - Fixed a bug in scale_columns. It said it didn't have any destructive aliasing when in fact it
destructively aliased its second argument.
 - Moved matrix_exp into its own file
 - Removed all the operator templated matrix expression classes from matrix_expressions.h
   and replaced them with a single (much simpler) class called matrix_op.  This new
   class is located in matrix_op.h.   Virtually all the code changes in this commit are just
   the refactoring needed to support this change.  No functionality has been changed.  I just
   did this because it makes the code a lot simpler.
 - Simplified the code for the kernel_matrix() function.  I also made it a little more
   general.  So it should now support just about any possible combination of arguments
   that makes any kind of sense for creating a kernel matrix.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403705
2010-06-27 02:32:04 +00:00
Davis King
31785ca332 Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403704
2010-06-21 02:20:11 +00:00
Davis King
b72e1322e9 Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403702
2010-06-14 22:49:47 +00:00