Commit Graph

3379 Commits

Author SHA1 Message Date
Davis King 8a3ecdc7e4 Added the find_affine_transform() routine. 2012-12-11 21:34:13 -05:00
Davis King 9cc8e56862 fixed typo in spec 2012-12-11 21:21:54 -05:00
Davis King 0f9f0e7733 Moved the point/vector rotation/transformation code into its own file. 2012-12-11 21:18:57 -05:00
Davis King a30fa632fa Made the functions for scaling, rotating, and generally transforming images
more general.  Previously they required the user to use the same type of image
for both input and output.  This has been relaxed so now different typed images
can be used.
2012-12-11 20:16:27 -05:00
Davis King cbc784a72a fixed typo in a comment 2012-12-11 19:33:44 -05:00
Davis King 95d1383ddb A minor change that makes the svm_multiclass_linear_trainer a little bit
faster.
2012-12-10 23:25:17 -05:00
Davis King 0da136b0df Added an overload of draw_image() that's useful for drawing images
and doing interpolation at the same time.
2012-12-10 22:32:08 -05:00
Davis King 6643cbb8d2 fixed grammar in a comment 2012-12-09 15:22:37 -05:00
Davis King da9fba5f3c updated a comment 2012-12-09 15:21:18 -05:00
Davis King e2ddbde241 updated docs 2012-12-09 15:20:19 -05:00
Davis King 333db05cef Added draw_solid_convex_polygon() 2012-12-09 15:16:55 -05:00
Davis King 49ffb86036 A minor change to avoid unnecessary work when not using a cutting plane cache. 2012-12-09 14:01:17 -05:00
Davis King 81d82faca9 fixed typo 2012-12-08 16:36:39 -05:00
Davis King 55460625c5 updated sourceforge mercurial repo address 2012-12-08 16:28:32 -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 8ed6469ee8 updated docs 2012-12-08 16:10:43 -05:00
Davis King 23b4ac294d refined style sheet for the docs a little 2012-12-08 10:13:28 -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 953fbe1772 Made the docs better in how they display the "file to include" and also example
program lists
2012-12-08 09:17:01 -05:00
Davis King b80edc8839 Fixed confusing error message. 2012-12-05 23:14:20 -05:00
Davis King 55d21096de Changed the feature extraction interfaces for the sequence labeling and
assignment problem learning tools to also include an optional
num_nonnegative_weights() method.  This method can be used to tell any machine
learning tools which elements of the learned parameter vector should be
non-negative.  As part of this change, I also removed the previous methods for
doing this from the structural_assignment_trainer since they are now redundant.
2012-12-05 23:11:55 -05:00
Davis King 3956330d1f simplified examples 2012-12-05 19:36:39 -05:00
Davis King 0c0db073cb Added a version of print_options() that doesn't take an ostream but just prints
to cout.
2012-12-05 19:36:30 -05:00
Davis King 82463617ee Added some code to workaround a bug in certain versions of gcc. 2012-12-05 19:29:38 -05:00
Davis King dc78fef6cb Updated faq 2012-11-27 23:11:15 -05:00
Davis King 744be68ea6 Added missing requirement 2012-11-27 21:37:36 -05:00
Davis King 841ad8033a merged 2012-11-27 21:34:10 -05:00
Davis King 5e75471a84 Added hash() overloads for uint32, uint64, and std::pair as well as some more
unit tests.
2012-11-27 21:28:00 -05:00
Davis King d01eee951b Added murmur_hash3_3() 2012-11-27 21:24:23 -05:00
Davis King 49f2d6f9df Added murmur_hash3_2() 2012-11-27 20:45:35 -05:00
Davis King 4855666797 Added a pragma to disable a warning from visual studio 2012. 2012-11-25 19:52:32 -05:00
Davis King 484e8a3d73 Reduced the number of tests because otherwise we get really close to the limit on the number
of TCP connections in the TIME_WAIT state on Windows XP.  This results in the tests failing
if you run them multiple times within the TIME_WAIT timeout period.  So this change makes
the tests less likely to false alarm when run on Windows XP.
2012-11-25 16:47:25 -05:00
Davis King 6bbb3bcee7 Made test a little more robust 2012-11-25 16:41:12 -05:00
Davis King 2b7a362793 Minor changes to avoid a compiler error and warning in visual studio 2012-11-25 16:32:11 -05:00
Davis King 1527db6b9d updated release notes 2012-11-24 17:04:02 -05:00
Davis King d3a9267cbf Moved all the sparse vector documentation into the linear algebra page. 2012-11-24 17:00:21 -05:00
Davis King 8e82a235d9 clarified spec 2012-11-24 16:37:04 -05:00
Davis King f3b154dfe6 Added some sparse_matrix_vector_multiply() unit tests. 2012-11-24 16:20:10 -05:00
Davis King 6b2b213d9e Added an overload of sparse_matrix_vector_multiply() that multiplies a dense
matrix with a sparse vector.
2012-11-24 16:15:12 -05:00
Davis King aee36c3d68 Added overloads of sparse_matrix_vector_multiply() that return their result
like normal rather than passing it back by reference.
2012-11-24 15:59:13 -05:00
Davis King 2bd7f12353 Clarified spec 2012-11-24 15:07:20 -05:00
Davis King 53cd2859c1 updated docs 2012-11-24 14:49:58 -05:00
Davis King d32f169fa9 Added missing assert 2012-11-24 14:48:27 -05:00
Davis King 04089ee638 Added gaussian_randm() 2012-11-24 14:46:13 -05:00
Davis King 3dfe0feaee Added unit tests for uniform_random_hash() and gaussian_random_hash(). 2012-11-24 13:57:25 -05:00
Davis King 36faa29b52 updated docs 2012-11-24 13:49:02 -05:00
Davis King dbe14b7f62 Added uniform_random_hash() and gaussian_random_hash(). 2012-11-24 13:41:29 -05:00
Davis King 0f419e18c1 Fixed compiler warning in gcc 4.4 2012-11-24 09:59:40 -05:00
Davis King 52aeba58c1 Added test_murmur_hash_128_3(). Also fixed an endianness error in the hashing
unit test code.
2012-11-24 09:54:26 -05:00
Davis King ec79a93771 Made the svm_c_linear_trainer use the risk gap to decide when to stop. So now
it interprets its epsilon parameter the same way the other OCA based SVM tools
in dlib do.  It also has a more intuitive interpretation than the previous
stopping condition.
2012-11-24 09:02:39 -05:00