Commit Graph

2492 Commits

Author SHA1 Message Date
Davis King 3ebf0f2e3f Refined the scan_image_pyramid interface a little. In particular, I split the
get_feature_vector() method into two separate functions so the interface
is a little simpler and more flexible.
2011-12-24 18:39:35 -05:00
Davis King 578322dca2 Renamed a variable to make the code clearer. 2011-12-24 15:25:34 -05:00
Davis King e57d4c28bc Improved an error message. 2011-12-24 15:23:05 -05:00
Davis King ac83daec4a Made the test_box_overlap a little more flexible. This change breaks
backwards compatibility with the previous version though.
2011-12-24 15:12:30 -05:00
Davis King 8268c2fee7 Added an operator != to the file and directory objects. 2011-12-24 08:51:46 -05:00
Davis King d53a37e770 Added another member function which enables you to get the detection
strengths from the object_detector.
2011-12-21 19:47:26 -05:00
Davis King ca6bd2caa8 updated spec 2011-12-18 17:02:40 -05:00
Davis King d6012c413b Added some simple normality tests for the new rand::get_random_gaussian() method. 2011-12-18 17:00:03 -05:00
Davis King b436d840fb Added a function for generating Gaussian random numbers. 2011-12-18 16:51:56 -05:00
Davis King 83623fd800 updated version number 2011-12-17 12:24:29 -05:00
Davis King 1ecfd5bb5c Fixed a typo in the spec. 2011-12-15 20:51:02 -05:00
Davis King 331b2d753f Improved error messages from object detector. 2011-12-15 20:30:32 -05:00
Davis King dcb8b6ff2a Changed code to avoid compiler warnings. Also added support for the
difficult, truncated, and occluded metadata fields of the pascal datasets.
2011-12-15 19:41:07 -05:00
Davis King 0ac4a54094 The object_detector had code in it which limited the number of outputs
to 100 rectangles.  This has been removed.
2011-12-15 18:26:29 -05:00
Davis King 7b591aba7a Made assign_image() and assign_image_scaled() capable of assigning to
matrices.
2011-12-13 19:04:17 -05:00
Davis King d45a52ede7 merged 2011-12-13 18:06:07 -05:00
Davis King acb1cdf2df changed code to avoid a compiler warning 2011-12-13 18:05:36 -05:00
Davis King f1f9a018cf Fixed some comments. 2011-12-11 23:36:15 -05:00
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