Commit Graph

4528 Commits

Author SHA1 Message Date
Davis King
a09a8f6a95 Added more python doc strings 2013-08-09 11:56:06 -04:00
Davis King
9df0677555 updated docs 2013-08-09 11:40:04 -04:00
Davis King
3bfece9aec Added a max_cost_assignment python example 2013-08-09 11:36:34 -04:00
Davis King
c9bdb9b2da Added python bindings for the max_cost_assignment() and assignment_cost() routines. 2013-08-09 11:23:38 -04:00
Davis King
b68e5a37fb Added functions for easily converting between python list objects and std::vector. 2013-08-09 11:23:05 -04:00
Davis King
7640decee9 clarified spec 2013-08-09 11:22:03 -04:00
Davis King
a9fd939c82 Added another matrix constructor. Now we can construct from python lists. 2013-08-09 11:00:40 -04:00
Davis King
bbf9863b57 Made the unit tests also compile all the example programs 2013-08-08 19:42:37 -04:00
Davis King
ab97c454e3 updated docs 2013-08-08 19:38:43 -04:00
Davis King
5be1478295 Clarified comments 2013-08-08 19:37:39 -04:00
Davis King
c87571ce4e clarified example 2013-08-08 19:37:29 -04:00
Davis King
e20a2190e2 Added structural svm solver example program 2013-08-08 19:07:50 -04:00
Davis King
cf8774b3c3 Fixed grammar in comment 2013-08-08 18:13:22 -04:00
Davis King
1dd9888bae Added more comments about sparse vectors to the python examples 2013-08-08 11:40:03 -04:00
Davis King
0660dc02e5 Made python svm struct interface work with sparse vectors 2013-08-08 11:38:12 -04:00
Davis King
8c111ee73a Improved sparse vector python docs 2013-08-08 11:37:55 -04:00
Davis King
bc9bf3609a Add checks into the vector_normalizer and vector_normalizer_pca objects
to detect users giving infinite and NaN values as inputs.
2013-08-08 10:31:32 -04:00
Davis King
ec4865ed60 Added some asserts into the optimization code to detect when the user
accidentally creates objective functions which output infinite or NaN values.
2013-08-08 10:20:38 -04:00
Davis King
625488ee34 updated docs 2013-08-08 10:09:35 -04:00
Davis King
d9a93fdce1 Added is_finite() for matrix objects. 2013-08-08 10:04:05 -04:00
Davis King
fe410de2bb Added is_finite() 2013-08-08 09:44:53 -04:00
Davis King
9910982337 Minor change to avoid a compiler warning 2013-08-07 14:39:56 -04:00
Davis King
8ac87abe2c Added the option to disable overlay editing to the image_display. Also made
the image_window not allow overlay editing.
2013-08-07 14:15:12 -04:00
Davis King
b6bf552c8d Fixed a bug in the image_window which made it's behavior slightly weird
when a user drew rectangles on it.
2013-08-07 13:42:06 -04:00
Davis King
4cc14d2663 Added Steven Van Ingelgem's patch to the HTTP server which makes
operations on HTTP headers case-insensitive.
2013-08-07 13:08:20 -04:00
Davis King
9fa2cc573d updated docs 2013-08-07 12:30:44 -04:00
Davis King
65c6a30ee2 Changed all the structural SVM tools to use a default PSI cache size of 5. 2013-08-06 21:25:34 -04:00
Davis King
b5a90e52fb Updated tests to work with current code 2013-08-06 21:25:07 -04:00
Davis King
36d5677a26 Updated example program to work best with the new code 2013-08-06 00:33:50 -04:00
Davis King
4b29dec604 Added use_relative_feature_weights() and use_uniform_feature_weights()
functions to make it easy to configure image scanners that use the hashed_feature_image.
2013-08-06 00:31:58 -04:00
Davis King
615b3cf6a0 Added an option to weight the features from a hashed_feature_image
relative to the number of times they occur in an image.  I also set
the new default behavior to use this relative weighting and changed
the serialization format to accommodate this.
2013-08-06 00:03:24 -04:00
Davis King
712c65779c Added get_feature_extractor() functions to the image scanners so the underlying
feature extractors can have their parameters queried.
2013-08-05 23:50:51 -04:00
Davis King
a448b452da Removed cruft 2013-08-05 23:02:40 -04:00
Davis King
a8acc89c76 Added --shuffle and --split options to imglab. Also added more outputs to --stats 2013-08-05 15:48:34 -04:00
Davis King
de663ec21d Added the --stats option to imglab 2013-08-05 15:04:13 -04:00
Davis King
e2350caed2 Made spec slightly clearer 2013-08-05 14:48:33 -04:00
Davis King
c4a7f0c9ba Clarified the error message you get when an impossible set of object
boxes is detected.
2013-07-31 19:26:00 -04:00
Davis King
92a3c41010 Fixed a bug in the object_detector testing code that caused the average
precision values to be slightly wrong.
2013-07-31 19:24:42 -04:00
Davis King
c0c1995d50 Clarified example 2013-07-27 02:49:50 +10:00
Davis King
ed9f00ba98 Fully qualified the char_traits references to avoid name conflicts in
certain rare cases.
2013-07-26 07:54:12 +10:00
Davis King
1b23bb13e9 Updated comments in examples to account for recent code change. 2013-07-25 20:38:23 +10:00
Davis King
c9ed8aa600 Changed object detector testing functions to output average precision
instead of mean average precision.
2013-07-25 20:37:36 +10:00
Davis King
3bfc361205 Fixed a bug in running_scalar_covariance that caused the covariance() and
correlation() methods to output the wrong answer if the covariance was
negative.
2013-07-17 18:51:30 -04:00
Davis King
b9f45f37cb updated docs 2013-07-16 18:03:00 -04:00
Davis King
df920f761e Changed unit test so it has the same behavior everywhere. Previously, since
the order of function argument evaluation is not defined, the test had slightly
different results on different systems which could cause the tests to falsely
indicate failure.
2013-07-16 17:45:44 -04:00
Davis King
131686f4ed Changed cmake file so python libraries have the correct extension on mac systems. 2013-07-15 22:58:43 -04:00
Davis King
56d6a8a4d4 fixed compile error in older gcc 2013-07-15 08:01:07 -04:00
Davis King
95aacdfdfb Improved the way the feature vector cache is used within the structural svm
solver.  This makes some things, such as the structural_object_detection_trainer,
significantly faster.
2013-07-14 10:10:14 -04:00
Davis King
06d1331c4d Fixed incorrect comment in example program. 2013-07-13 16:30:22 -04:00
Davis King
da44aa6299 slightly simplified code 2013-07-12 20:26:28 -04:00