Davis King
3ecacdccb6
updated docs
2011-12-11 17:41:47 -05:00
Davis King
3bcd9df592
made comment more clear
2011-12-11 17:29:47 -05:00
Davis King
dc4d537122
updated docs
2011-12-11 17:20:13 -05:00
Davis King
8ce84862a9
Added an example program for the new assignment learning tools.
2011-12-11 17:15:18 -05:00
Davis King
b4ba2fce4b
Fixed a bug which triggered when using variable length matrices
...
as the feature vector type.
2011-12-11 14:37:57 -05:00
Davis@potato-xp.localnet
560e5a4628
Changed code so it compiles in visual studio 2010
2011-12-11 13:42:32 -05:00
Davis King
d89d784a95
Just added a try/catch block around the whole program.
2011-12-10 11:41:43 -05:00
Davis King
cbcb80bfd2
Changed the add_probability() method of joint_probability_table so
...
it does a saturating add rather than a normal add. This ensures the
probability value stays exactly <= 1. Previously, floating point
rounding error could cause it to be slightly above 1 and would therefore
cause some asserts to misfire during debugging mode.
2011-12-10 11:38:05 -05:00
Davis King
10829e4d69
fixed some typos in assert messages
2011-12-10 10:19:34 -05:00
Davis King
87292660c7
Fixed a bug which caused the tests to fail if run more than once.
2011-12-09 23:51:52 -05:00
Davis King
0243b0050c
Changed code to avoid a compiler warning
2011-12-09 23:46:21 -05:00
Davis King
a80d9d57e2
updated docs
2011-12-09 22:42:33 -05:00
Davis King
14ae1d7656
Made the sequence trainer use the reject_labeling() information from
...
the feature extractor. Also added the necessary input validation
to make sure this feature doesn't get misused.
2011-12-08 20:04:39 -05:00
Davis King
1e1d7fc8a1
Added the contains_invalid_labeling() routine.
2011-12-08 19:51:21 -05:00
Davis King
ea26c37bad
Updated example to reflect relaxed feature extraction interface.
2011-12-07 23:12:40 -05:00
Davis King
0250dd00c5
Added unit tests for the assignment learning stuff
2011-12-07 23:05:38 -05:00
Davis King
44c79bcb91
Relaxed the requirements on the feature extractor interface and also
...
added some tests to make sure the code really does work with the
relaxed interface.
2011-12-07 23:03:47 -05:00
Davis King
6d48b166a2
Added methods to get the assignment by reference rather than returning
...
a copy by value.
2011-12-06 23:16:14 -05:00
Davis King
407e9aff8b
Clarified specs
2011-12-05 18:46:38 -05:00
Davis King
23ae045264
clarified docs
2011-12-05 18:09:06 -05:00
Davis King
794b9f1b5b
Clarified spec
2011-12-05 18:08:57 -05:00
Davis King
3757fc7374
Made the order of constructor arguments in the various overloads
...
for the assignment_function and sequence_labeler consistent.
2011-12-04 09:34:32 -05:00
Davis King
890d4e5394
updated docs
2011-12-04 09:21:44 -05:00
Davis King
e64b7e74fd
updated docs
2011-12-03 23:44:27 -05:00
Davis King
e61caca362
Filled out the spec and added the usual boilerplate for a trainer object.
2011-12-03 23:18:57 -05:00
Davis King
93709d0363
removed cruft
2011-12-03 23:14:45 -05:00
Davis King
2ecf811da2
Fixed a minor bug in how the cross validation accuracy was being
...
computed.
2011-12-03 23:03:34 -05:00
Davis King
94d7305ae6
Fixed spelling error in comment.
2011-12-03 22:43:53 -05:00
Davis King
1291350ffa
Added a missing assert.
2011-12-03 22:24:38 -05:00
Davis King
dab7db3734
Added a spec for the structural_svm_assignment_problem and added missing asserts.
2011-12-03 22:23:14 -05:00
Davis King
9de4e129a6
Added a spec for the assignment problem validation functions and added
...
missing asserts.
2011-12-03 21:57:10 -05:00
Davis King
25e976feea
fleshed out this spec
2011-12-03 20:39:51 -05:00
Davis King
1c1acac9ea
clarified spec
2011-12-03 18:33:41 -05:00
Davis King
82230b59b6
renamed some things
2011-12-03 18:25:20 -05:00
Davis King
8a7fb193d0
Made the feature_extractor interface a little more efficient.
2011-12-03 18:07:49 -05:00
Davis King
7359ab4bb1
Setup serialization support for assignment_function objects.
2011-12-03 17:06:29 -05:00
Davis King
9d81a1ef98
Added initial version of the assignment problem learning code.
2011-12-03 16:52:30 -05:00
Davis King
94ae09f52a
Just added some comments about setting up proper input validation
...
when the user uses the sequence label rejection feature.
2011-12-03 16:29:08 -05:00
Davis King
7a83a30d63
Added the is_assignment_problem() and is_forced_assignment_problem() routines.
2011-12-03 14:17:52 -05:00
Davis King
381a73a26d
Clarified spec
2011-12-03 11:44:55 -05:00
Davis King
ad50b677c3
Added a test for 64 bit integers.
2011-12-03 11:35:11 -05:00
Davis King
302caff84c
Created release v17.44
2011-11-21 21:09:31 -05:00
Davis King
9678ad83a2
Added tag v17.44 for changeset 9ed76e89b664
2011-11-21 21:09:31 -05:00
Davis King
9ef5195ca6
Minor changes to avoid compiler warnings from clang++
2011-11-06 10:38:52 -05:00
Davis King
a2331a99f2
updated docs
2011-11-06 10:05:17 -05:00
Davis King
b194c7b148
Cleaned up example slightly
2011-11-06 09:45:19 -05:00
Davis King
a1632e02fb
Minor changes to avoid compiler warnings in gcc
2011-11-06 09:20:57 -05:00
Davis King
f829ad63db
updated docs
2011-11-06 09:12:15 -05:00
Davis King
b9149a5e74
Added the histogram intersection kernel for sparse and dense vectors.
2011-11-06 09:09:32 -05:00
Davis King
85db4e4ebb
The last dlib release added a max_iterations parameter to the
...
svm_c_linear_trainer and svm_c_ekm_trainer objects. However,
there was a bug which made them only ever do at most 16 iterations,
which is too few to solve many problems. This has been fixed.
2011-11-05 12:15:36 -04:00