Commit Graph

3036 Commits

Author SHA1 Message Date
Davis King
caf8437c51 updated main page 2012-05-19 11:48:59 -04:00
Davis King
2e2b317668 Added some compile time asserts. 2012-05-14 21:13:23 -04:00
Davis King
19ccb387b5 Changed the spec to say that array2d objects don't put padding at the
ends of the rows.
2012-05-14 20:04:37 -04:00
Davis King
4fdb329f11 Changed the SINK_CUT and FREE_NODE constants so that when we use graph
cuts on an image the result is a displayable binary image rather than
an image which is super dark and hard to view.
2012-05-14 19:47:33 -04:00
Davis King
3fa4c69e50 clarified docs 2012-05-12 13:06:56 -04:00
Davis King
f91527a398 Clarified spec 2012-05-12 13:06:48 -04:00
Davis King
d7dc8ae386 Fixed typo in spec 2012-05-12 12:53:44 -04:00
Davis King
9c5e66b466 Optimized this code a little. 2012-05-12 12:10:37 -04:00
Davis King
1570899cea Improved aserts 2012-05-11 21:20:06 -04:00
Davis King
40e45d991d Fixed typo in spec 2012-05-10 22:49:43 -04:00
Davis King
db5e785032 merged 2012-05-09 18:14:21 -04:00
Davis King
34dbc02d97 Fixed a bug in find_max_factor_graph_viterbi() which sometimes
occurred when the model order was larger than the number of variables.
2012-05-09 18:13:32 -04:00
Davis King
b2d7f83f3f updated docs 2012-05-06 22:47:15 -04:00
Davis King
baa6fa879d Just moved some files and #includes around a little.
--HG--
rename : dlib/svm/graph_labeler.h => dlib/graph_cuts/graph_labeler.h
rename : dlib/svm/graph_labeler_abstract.h => dlib/graph_cuts/graph_labeler_abstract.h
2012-05-06 22:35:42 -04:00
Davis King
3a5f99f497 Updated the interface to the structural_graph_labeling_trainer so the user
can set the per class loss to whatever they want.
2012-05-06 12:00:22 -04:00
Davis King
42c123f298 Fixed minor bug in the set_loss_on_negative_class() function. 2012-05-06 11:59:18 -04:00
Davis King
7f92868840 Added missing comments. 2012-05-06 11:53:52 -04:00
Davis King
efb1a12dc4 Added the ability for the user to set the per class loss. 2012-05-06 11:51:18 -04:00
Davis King
2c45ab5e91 Slightly improved messages from some asserts. 2012-05-06 10:09:59 -04:00
Davis King
b0e4bcb69e merged 2012-05-06 10:00:31 -04:00
Davis King
8f6ca729ba removed cruft 2012-05-05 23:46:47 -04:00
Davis King
53074fc9bf Added a compile time assert to hopefully simplify possible error messages. 2012-05-05 23:45:21 -04:00
Davis King
b0cab39125 Added some more tests 2012-05-05 23:41:34 -04:00
Davis King
686ee801dd Just added some casts to avoid compiler warnings. 2012-05-05 23:35:44 -04:00
Davis King
b355951dab Added missing assert. 2012-05-05 23:32:41 -04:00
Davis King
0c6b95ef76 Simplified the code a little. 2012-05-05 22:43:12 -04:00
Davis King
9ab53f0123 Added the += and -= operators to the set_subm(), set_rowm(), and set_colm()
functions.
2012-05-05 22:26:59 -04:00
Davis King
0b7896c927 Fixed out of date docs 2012-05-05 17:54:39 -04:00
Davis King
b5b061f906 Added some unit tests for sparse_to_dense() 2012-05-05 17:35:08 -04:00
Davis King
2e7e20f2b8 - Added make_sparse_vector()
- Refined the sparse_to_dense() routines a little.
2012-05-05 17:34:33 -04:00
Davis King
ad3ede2d12 Added unit tests for the graph labeling stuff. 2012-05-05 14:30:22 -04:00
Davis King
bda0943d8c Changed graph_labeler requirements to allow for zero sized sparse vectors. 2012-05-05 13:59:37 -04:00
Davis King
4d46517ed0 Fixed bug in is_graph_labeling_problem(). It didn't allow
for zero sized sparse vectors.
2012-05-05 13:57:36 -04:00
Davis King
16aada0843 Fixed a bug in sparse_to_dense() which I just introduced a few
commits ago.
2012-05-05 13:43:45 -04:00
Davis King
c9a1aa4b71 Added more overloads of sparse_to_dense(). Now it works on single
vectors of both sparse and dense type.
2012-05-05 00:18:50 -04:00
Davis King
5730a7a29c updated docs 2012-05-04 23:44:21 -04:00
Davis King
7a66d9884a Moved sparse_to_dense() into the file with all the other sparse
vector functions.
2012-05-04 23:43:12 -04:00
Davis King
f581b5e67d updated docs 2012-05-02 23:31:43 -04:00
Davis King
18601228c3 Made this file #include the new graph cut learning tools. 2012-05-02 23:09:45 -04:00
Davis King
e3ea5b0ec3 Filled out this spec file 2012-05-02 23:07:31 -04:00
Davis King
61020c1b60 updated #includes 2012-05-02 22:57:06 -04:00
Davis King
cd540113ab Filled out spec file 2012-05-02 22:55:44 -04:00
Davis King
05cdc0ed24 removed cruft 2012-05-02 22:55:20 -04:00
Davis King
7a1e67e60f Clarified spec 2012-05-02 22:34:31 -04:00
Davis King
bcb84de474 Added asserts 2012-05-02 22:30:22 -04:00
Davis King
9926bc9203 Added missing requirement to the dot() function for matrices. 2012-05-02 22:19:56 -04:00
Davis King
8dec52cac8 improved spec 2012-05-02 22:03:17 -04:00
Davis King
e3fcf8b6a5 Filled out spec file. 2012-05-02 20:47:10 -04:00
Davis King
80295a59f8 Fixed a very minor typo in the spec. 2012-05-02 19:08:58 -04:00
Davis King
2e7f65885b Apparently, XKeycodeToKeysym() is deprecated. Since clang++ was
giving warnings about this I switched to the replacement function
XkbKeycodeToKeysym().
2012-05-01 20:51:37 -04:00