Commit Graph

3400 Commits

Author SHA1 Message Date
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
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
cc708d0400 Added unit tests for the new svm_rank_trainer. 2012-11-23 17:05:51 -05:00
Davis King
a5d2918708 Fixed some compile time errors related to sparse vector use. 2012-11-23 17:03:54 -05:00
Davis King
d76511de02 updated docs 2012-11-23 16:13:11 -05:00
Davis King
5e8da51849 Added initial version of svm rank example 2012-11-23 16:09:41 -05:00
Davis King
a4e483ef05 clarified spec 2012-11-23 16:06:38 -05:00
Davis King
ee3a8692bf Added another overload of test_ranking_function() that takes a single
ranking_pair.  Also improved wording of comment in svm_rank_trainer_abstract.h
2012-11-23 15:44:57 -05:00
Davis King
41d47e98e0 updated docs 2012-11-23 13:51:06 -05:00
Davis King
b6e274bd1c Filled out the svm_rank_trainer's spec 2012-11-23 12:58:49 -05:00
Davis King
0e67a4e308 Fleshed out the spec and cleaned up a few minor things. 2012-11-23 12:18:15 -05:00
Davis King
845391d00c Fixed some typos in docs. There was also a missing component block for
sparse_linear_kernel.
2012-11-23 11:31:38 -05:00
Davis King
6ffe8d799b Added svm_rank_trainer. Need to flesh out abstracts and unit tests next. 2012-11-22 11:51:41 -05:00
Davis King
c1a9572cbf Changed oca solver to only call the problem's get_num_dimensions() routine once
since it might be expensive to call depending on how the user implements it.
2012-11-21 12:46:56 -05:00
Davis King
158b7a0bf2 Fixed broken link. 2012-11-21 10:18:58 -05:00
Davis King
898ad4df70 Made parse_trees_to_string() and parse_trees_to_string_tagged() a little more
user friendly.
2012-11-21 10:03:26 -05:00
Davis King
658a818256 updated docs 2012-11-19 09:16:39 -05:00
Davis King
13ed92d4ff cleanup. Gave smart pointers their own section. 2012-11-19 00:55:22 -05:00
Davis King
3f7911483b fixed a bunch of broken links 2012-11-19 00:44:03 -05:00
Davis King
cc0b205dab Moved all the linear algebra/matrix tools onto their own documentation page. 2012-11-19 00:31:58 -05:00
Davis King
160110711f Switched the bsp tools from using stringstream to vectorstream for
serialization.
2012-11-18 17:16:29 -05:00
Davis King
bdd3e221f0 updated docs 2012-11-18 16:36:34 -05:00
Davis King
4807ab060f Added unit tests for the vectorstream. 2012-11-18 16:26:46 -05:00
Davis King
e6d7f93dc6 Added seekg() and made vectorstream more robust. 2012-11-18 16:20:38 -05:00
Davis King
45d2120551 Added the vectorstream object. 2012-11-18 15:53:55 -05:00
Davis King
259a4542a8 Simplified example 2012-11-18 13:20:49 -05:00
Davis King
3740c16b09 Removed cruft 2012-11-18 13:09:07 -05:00
Davis King
f49bbc9413 updated docs 2012-11-18 13:03:58 -05:00
Davis King
bfb25b68ec Simplified code 2012-11-18 13:01:08 -05:00