Commit Graph

829 Commits

Author SHA1 Message Date
Davis King
3387105fcb updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403081
2009-05-30 15:38:13 +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
9ebae0621d Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403079
2009-05-30 14:47:15 +00:00
Davis King
8967608512 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403078
2009-05-29 21:10:54 +00:00
Davis King
59fcaaff22 Reworked the config_reader interface a little to make it easier to use. In
particular, I removed the enumerator over blocks in favor of a simple
get_blocks() function that just returns a std::vector of all the blocks.
I also removed the requires clauses on the block and key accessor functions
and instead made a request for a non-existent key/block result in a non-fatal
exception.  This way users can let the config reader perform a more natural
role in config file validation (by catching this exception and acting accordingly).

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403077
2009-05-29 20:05:40 +00:00
Davis King
9ff5b39de7 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403076
2009-05-29 17:20:08 +00:00
Davis King
f36501d761 Updated the equal() function so that it can compare complex matrices.
I also changed a matrix test case to be more robust.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403075
2009-05-29 17:08:00 +00:00
Davis King
eeb0b8061d Made the clp checker spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403074
2009-05-29 16:05:45 +00:00
Davis King
b2efcc52d0 Simplified the matrix code slightly. This also fixed a strange compile time bug
that you can get from gcc in certain cases.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403073
2009-05-29 16:02:23 +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
b33e8438bd Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403071
2009-05-29 15:57:42 +00:00
Davis King
3e033ad2dc Fixed the gaussian() function used by the SURF code. It wasn't
computing a properly weighted Gaussian function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403070
2009-05-29 15:50:23 +00:00
Davis King
6d432586ed Changed the reduced_decision_function_trainer2 object so that it performs a final
optimization of the weights before it finishes.  This ensures that we always
end up with the best weights for the support vectors we obtain after the
conjugate gradient optimization step.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403069
2009-05-28 01:19:06 +00:00
Davis King
8122c10c72 Cleanup test code and fixed compiler warning.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403068
2009-05-27 02:38:46 +00:00
Davis King
925a9be91c Added overloads of the kernel_derivative object for all the kernels in dlib.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403067
2009-05-27 02:21:00 +00:00
Davis King
4ed6922b37 Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403065
2009-05-25 19:16:47 +00:00
Davis King
3a698e63e6 Removed a flip command that was causing trouble.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403064
2009-05-25 19:05:08 +00:00
Davis King
7a8a799970 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403063
2009-05-25 18:40:58 +00:00
Davis King
b9f4a68e6a Slightly optimized how overlays are added to the image_display widget.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403062
2009-05-25 17:24:55 +00:00
Davis King
b02e90d264 Fixed compiler error I just introduced a moment ago.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403061
2009-05-25 17:08:31 +00:00
Davis King
5f2c65122b Merged in Miguel Grinberg's patch to add a non-blocking read() function to the
connection object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403060
2009-05-25 17:04:23 +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
27a02fd1a1 Added some stuff to test the integral_image class.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403058
2009-05-25 00:46:50 +00:00
Davis King
a422e2d6ce Added more tests
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403057
2009-05-25 00:37:10 +00:00
Davis King
4d682dd379 Removed clutter from spec file and also fixed a bug in the assign_border_pixels() and
zero_border_pixels() functions.  Their contracts said there was no upper limit on the
size of the border that could be assigned/zeroed but the implementations failed to
handle the case where the border was bigger than the image.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403056
2009-05-25 00:36:07 +00:00
Davis King
1d3b6b1f09 Changed code to avoid compiler warnings.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403055
2009-05-25 00:33:57 +00:00
Davis King
116ac765b3 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403054
2009-05-25 00:18:55 +00:00
Davis King
9fb9493815 Made the spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403053
2009-05-25 00:04:49 +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
4e657414a1 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403051
2009-05-24 23:08:50 +00:00
Davis King
f7ea422390 Fixed some typos
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403050
2009-05-24 23:08:24 +00:00
Davis King
4a5cfbfb98 Added missing comments and asserts.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403049
2009-05-24 22:39:01 +00:00
Davis King
38bd25122f Changed code to avoid false test failures in some compilers.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403048
2009-05-24 21:32:28 +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
dcd322dd35 Made this code slightly more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403046
2009-05-20 00:34:32 +00:00
Davis King
56901135a0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403045
2009-05-18 22:59:01 +00:00
Davis King
2d148fb367 Made the spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403044
2009-05-18 22:54:16 +00:00
Davis King
15cff080ed Added the roc_trainer_type object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403043
2009-05-18 22:49:40 +00:00
Davis King
8901e32c84 Changed the definition of the is_binary_classification_problem() function
so that it is a little more reasonable and also easier to understand.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403042
2009-05-18 22:49:16 +00:00
Davis King
9de84b631e updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403041
2009-05-17 15:30:01 +00:00
Davis King
98fa067eeb General code cleanup. Most of the changes are due to me simplifying
the way a bunch of requirements were written.  I also added missing
assert statements to the randomize_samples() functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403040
2009-05-17 15:28:31 +00:00
Davis King
111f19c65d updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403039
2009-05-15 18:12:32 +00:00
Davis King
2eef3ec855 Made the specs more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403038
2009-05-15 18:04:03 +00:00
Davis King
b21dd37edf Added the null_trainer_type object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403037
2009-05-15 17:56:24 +00:00
Davis King
0ce66e9a92 I just did some code cleanup. In particular, I added a typedef to the decision function
objects to allow you to get the kernel type out of them.  I also removed some extraneous
get_kernel() functions from some of the trainer adapter classes since they really aren't
needed.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403036
2009-05-15 17:55:48 +00:00
Davis King
33a224326c Made the pipe spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403035
2009-05-15 16:17:52 +00:00
Davis King
be38aef045 Fixed spelling error in spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403034
2009-05-15 16:10:28 +00:00
Davis King
2cbe237477 Simplified the XML in the term_index.xml file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403033
2009-05-15 16:06:42 +00:00
Davis King
70ab1602b1 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403032
2009-05-15 13:57:38 +00:00
Davis King
149edaecb4 Added the get_files_in_directory_tree() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403031
2009-05-15 13:45:30 +00:00