Commit Graph

3230 Commits

Author SHA1 Message Date
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
Davis King
dbac28afcb Added a comment explaining why timer_heavy exists. 2012-11-18 12:58:21 -05:00
Davis King
b94fc34257 Just renamed the timer source files.
--HG--
rename : dlib/timer/timer_kernel_2.cpp => dlib/timer/timer.cpp
rename : dlib/timer/timer_kernel_2.h => dlib/timer/timer.h
rename : dlib/timer/timer_kernel_abstract.h => dlib/timer/timer_abstract.h
rename : dlib/timer/timer_kernel_1.h => dlib/timer/timer_heavy.h
2012-11-18 12:54:23 -05:00
Davis King
f6ad04c884 Converted the timer component into two single implementation components.
These are the timer and timer_heavy objects now.
2012-11-18 12:48:19 -05:00
Davis King
52dae74cfd updated docs 2012-11-18 12:22:47 -05:00
Davis King
ed9f16adc6 updated docs 2012-11-18 12:13:56 -05:00
Davis King
2ce5a85722 Converted the bound_function_pointer into a single implementation component. 2012-11-18 12:07:38 -05:00
Davis King
68658f88c0 Added another constructor to the linker that lets you link two connections
right away.
2012-11-18 11:46:53 -05:00
Davis King
c016de421b Made the linker's destructor behavior a little more reasonable. 2012-11-18 11:33:56 -05:00
Davis King
9e7d0d0f4d fixed spelling error in comment 2012-11-18 10:56:51 -05:00
Davis King
2e806a2358 updated docs 2012-11-18 10:48:53 -05:00
Davis King
4edd8795a0 Turned linker into a single implementation component. 2012-11-18 10:47:59 -05:00
Davis King
e7baa76655 added a comment 2012-11-18 00:34:21 -05:00
Davis King
5e308fde05 updated docs 2012-11-18 00:33:44 -05:00
Davis King
0b7e3020de Added the parse_xml() routines 2012-11-18 00:29:51 -05:00
Davis King
a641960521 updated docs 2012-11-17 23:58:22 -05:00
Davis King
8dbbda1fcf simplified code 2012-11-17 23:53:33 -05:00
Davis King
b3254eaf0c simplified code 2012-11-17 23:53:22 -05:00
Davis King
2e67aa546e Turned the xml_parser into a single implementation component. 2012-11-17 23:51:24 -05:00
Davis King
f9e63c9d33 Simplified member_function_pointer declarations. 2012-11-17 23:31:26 -05:00
Davis King
f0705c9384 updated docs 2012-11-17 23:17:26 -05:00