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 |
Davis King
|
18ab8c7a4f
|
updated a spec
|
2012-04-30 20:10:08 -04:00 |
Davis King
|
4b165cd186
|
Renamed a function.
|
2012-04-30 20:00:56 -04:00 |
Davis King
|
011aae49c1
|
removed cruft
|
2012-04-30 20:00:42 -04:00 |
Davis King
|
e269992161
|
Added initial version of graph labeling trainer.
|
2012-04-29 20:13:42 -04:00 |
Davis King
|
42a6ee6fcc
|
minor cleanup
|
2012-04-29 20:10:22 -04:00 |
Davis King
|
feb1ae5e19
|
switched to non-checking version.
|
2012-04-29 19:34:24 -04:00 |
Davis King
|
893bcea181
|
Added initial version of graph_labeler function object.
|
2012-04-29 19:33:18 -04:00 |
Davis King
|
e0b6e1894d
|
Just renamed some things
|
2012-04-29 18:58:54 -04:00 |
Davis King
|
0dd5976fd3
|
just renamed some files
--HG--
rename : dlib/svm/structural_svm_potts_problem.h => dlib/svm/structural_svm_graph_labeling_problem.h
rename : dlib/svm/structural_svm_potts_problem_abstract.h => dlib/svm/structural_svm_graph_labeling_problem_abstract.h
|
2012-04-29 18:54:14 -04:00 |
Davis King
|
e5ef72c4aa
|
Refined function contract a little.
|
2012-04-29 18:05:17 -04:00 |
Davis King
|
84523a056f
|
Added initial sketch of a potts learning problem definition.
|
2012-04-29 16:59:25 -04:00 |
Davis King
|
5e9df65355
|
Added initial version of structural_svm_potts_problem object.
|
2012-04-29 15:45:11 -04:00 |
Davis King
|
9f607bc51c
|
Removed unneeded code.
|
2012-04-29 13:24:44 -04:00 |
Davis King
|
016f41ac10
|
Changed the oca interface to allow you to specify that a range of w
elements should be non-negative rather than just being able to say
all or none of them are non-negative.
|
2012-04-29 10:20:13 -04:00 |
Davis King
|
ec2f30b631
|
Added missing asserts and requires clauses
|
2012-04-29 00:39:53 -04:00 |
Davis King
|
2ab7afe9ec
|
Added some more unit tests. Also fixed a bug in the potts_model_score() routine.
|
2012-04-29 00:18:49 -04:00 |
Davis King
|
9cc3947a85
|
clarified spec
|
2012-04-28 23:43:08 -04:00 |
Davis King
|
9caa96c94c
|
clarified spec and fixed typos.
|
2012-04-28 23:40:53 -04:00 |
Davis King
|
552ca77a64
|
Added an overload of find_max_factor_graph_potts() which takes a regular
undirected graph rather than the special purpose potts_problem type
object.
|
2012-04-28 23:35:45 -04:00 |
Davis King
|
6683acfb35
|
Added another print statement to an assert
|
2012-04-28 23:34:45 -04:00 |
Davis King
|
ef60be8e90
|
Simplified the potts model interface a little.
|
2012-04-28 23:18:19 -04:00 |
Davis King
|
9be84fe429
|
minor change to avoid compiler error in visual studio.
|
2012-04-28 18:27:39 -04:00 |
Davis King
|
5b450d1139
|
updated docs
|
2012-04-28 17:28:48 -04:00 |
Davis King
|
f0962acfcd
|
Added a comment about when this routine gives the exact MAP vs.
just an approximate answer.
|
2012-04-28 17:28:40 -04:00 |
Davis King
|
a69aecf640
|
clarified spec
|
2012-04-28 17:14:50 -04:00 |
Davis King
|
af45dedda3
|
clarified spec
|
2012-04-28 17:09:27 -04:00 |