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 |
Davis King
|
e76b0ac2e0
|
updated docs
|
2012-05-01 19:49:26 -04:00 |
Davis King
|
9c2172ee56
|
Gave the sparse vector tools their own #include file.
|
2012-05-01 19:46:29 -04:00 |
Davis King
|
a5b2454cc6
|
Removed the dlib::sparse_vector namespace. I put everything from this
namespace into the normal dlib:: namespace so that code which works
with both sparse and dense vectors is more cohesive.
|
2012-05-01 19:01:16 -04:00 |
Davis King
|
2f2aecc9fa
|
Added overloads for dot() so you can dot() a std::vector with a std::map.
|
2012-05-01 18:10:33 -04:00 |
Davis King
|
440c6571aa
|
Backed out changeset: 83039c25f3cc
This change runs into a bug in visual studio 2005 that I can't seem
to find a way to avoid. Might try it again later, but for now, I'm backing
it out.
|
2012-05-01 00:00:34 -04:00 |
Davis King
|
d73d9e929d
|
Made the sparse vector dot() more flexible.
|
2012-04-30 23:29:52 -04:00 |
Davis King
|
5963906069
|
added a comment.
|
2012-04-30 22:56:24 -04:00 |
Davis King
|
3fa93d7e1c
|
Fixed the code so it works with sparse vectors.
|
2012-04-30 22:52:47 -04:00 |
Davis King
|
e755295849
|
updated docs
|
2012-04-30 22:10:59 -04:00 |
Davis King
|
ec1997beec
|
Filled out the implementation of is_graph_labeling_problem().
|
2012-04-30 22:07:07 -04:00 |
Davis King
|
3321b43e67
|
Added unit tests for new sparse vector routines.
|
2012-04-30 22:06:37 -04:00 |
Davis King
|
7f43406195
|
Added functions for finding the min and max elements of a sparse vector.
|
2012-04-30 22:05:58 -04:00 |
Davis King
|
0a8da5ed25
|
Made these functions work even if one the labels never shows up
in the data.
|
2012-04-30 21:32:16 -04:00 |
Davis King
|
7e5cc9b7ae
|
Filled out spec file
|
2012-04-30 21:03:53 -04:00 |
Davis King
|
a0c3c22411
|
Added validation functions for graph labeling problems.
|
2012-04-30 20:49:24 -04:00 |
Davis King
|
aa8f3f2b05
|
updated docs
|
2012-04-30 20:37:18 -04:00 |
Davis King
|
0fcd382058
|
Added the copy_graph() routine.
|
2012-04-30 20:35:29 -04:00 |