Davis King
27a02fd1a1
Added some stuff to test the integral_image class.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403058
2009-05-25 00:46:50 +00:00
Davis King
a422e2d6ce
Added more tests
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403057
2009-05-25 00:37:10 +00:00
Davis King
4d682dd379
Removed clutter from spec file and also fixed a bug in the assign_border_pixels() and
...
zero_border_pixels() functions. Their contracts said there was no upper limit on the
size of the border that could be assigned/zeroed but the implementations failed to
handle the case where the border was bigger than the image.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403056
2009-05-25 00:36:07 +00:00
Davis King
1d3b6b1f09
Changed code to avoid compiler warnings.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403055
2009-05-25 00:33:57 +00:00
Davis King
116ac765b3
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403054
2009-05-25 00:18:55 +00:00
Davis King
9fb9493815
Made the spec more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403053
2009-05-25 00:04:49 +00:00
Davis King
d568bd04c3
Adding a new example program for the SURF algorithm.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403052
2009-05-25 00:00:50 +00:00
Davis King
4e657414a1
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403051
2009-05-24 23:08:50 +00:00
Davis King
f7ea422390
Fixed some typos
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403050
2009-05-24 23:08:24 +00:00
Davis King
4a5cfbfb98
Added missing comments and asserts.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403049
2009-05-24 22:39:01 +00:00
Davis King
38bd25122f
Changed code to avoid false test failures in some compilers.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403048
2009-05-24 21:32:28 +00:00
Davis King
9084b68032
Improved this example program.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403047
2009-05-21 01:41:29 +00:00
Davis King
dcd322dd35
Made this code slightly more robust.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403046
2009-05-20 00:34:32 +00:00
Davis King
56901135a0
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403045
2009-05-18 22:59:01 +00:00
Davis King
2d148fb367
Made the spec more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403044
2009-05-18 22:54:16 +00:00
Davis King
15cff080ed
Added the roc_trainer_type object.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403043
2009-05-18 22:49:40 +00:00
Davis King
8901e32c84
Changed the definition of the is_binary_classification_problem() function
...
so that it is a little more reasonable and also easier to understand.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403042
2009-05-18 22:49:16 +00:00
Davis King
9de84b631e
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403041
2009-05-17 15:30:01 +00:00
Davis King
98fa067eeb
General code cleanup. Most of the changes are due to me simplifying
...
the way a bunch of requirements were written. I also added missing
assert statements to the randomize_samples() functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403040
2009-05-17 15:28:31 +00:00
Davis King
111f19c65d
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403039
2009-05-15 18:12:32 +00:00
Davis King
2eef3ec855
Made the specs more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403038
2009-05-15 18:04:03 +00:00
Davis King
b21dd37edf
Added the null_trainer_type object.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403037
2009-05-15 17:56:24 +00:00
Davis King
0ce66e9a92
I just did some code cleanup. In particular, I added a typedef to the decision function
...
objects to allow you to get the kernel type out of them. I also removed some extraneous
get_kernel() functions from some of the trainer adapter classes since they really aren't
needed.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403036
2009-05-15 17:55:48 +00:00
Davis King
33a224326c
Made the pipe spec more clear.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403035
2009-05-15 16:17:52 +00:00
Davis King
be38aef045
Fixed spelling error in spec.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403034
2009-05-15 16:10:28 +00:00
Davis King
2cbe237477
Simplified the XML in the term_index.xml file.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403033
2009-05-15 16:06:42 +00:00
Davis King
70ab1602b1
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403032
2009-05-15 13:57:38 +00:00
Davis King
149edaecb4
Added the get_files_in_directory_tree() function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403031
2009-05-15 13:45:30 +00:00
Davis King
a8ce79c961
Changed code slightly to avoid warnings from gcc when -W -Wall is given.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403030
2009-05-15 13:07:39 +00:00
Davis King
00197638ac
Changed the pinv() function so that it doesn't get slow when operating on
...
matrices with many more columns than rows.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403029
2009-05-08 11:22:22 +00:00
Davis King
d65a100932
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403028
2009-05-03 18:46:27 +00:00
Davis King
1d22526d10
Added functions to grow and shrink the border of rectangle objects.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403027
2009-05-03 18:30:59 +00:00
Davis King
f0846be652
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403026
2009-05-02 16:19:34 +00:00
Davis King
1e3fb451f3
Fixed the load_bmp function with respect to another weird BMP format I found.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403025
2009-05-02 16:15:46 +00:00
Davis King
60f3dda36c
Added missing & symbols to the return types of the matrix cast operators.
...
Now vector_to_matrix() and array_to_matrix() produce matrix expressions
that return their elements by reference rather than by value.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403024
2009-05-02 15:55:29 +00:00
Davis King
97759301b5
Added a missing type cast to the reciprocal() function to fix a compile
...
time error you get when you use it with complex<float> type matrices.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403023
2009-05-02 15:53:49 +00:00
Davis King
d9fb619959
Added serialization support to the type_safe_union object.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403022
2009-04-26 00:46:14 +00:00
Davis King
8c239d0a4e
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403021
2009-04-25 15:24:25 +00:00
Davis King
d6d97b15f7
Added the zeros_matrix(), ones_matrix() functions. I also changed the pointwise_multiply()
...
and complex_matrix() functions so that they are a little more convenient when dealing
with complex types.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403020
2009-04-25 15:24:07 +00:00
Davis King
96bbf67b7b
Added a public domain dedication to the documentation files.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403019
2009-04-25 13:49:11 +00:00
Davis King
3e3bce2bfa
Added a little README file that gives a rough explanation of what is
...
going on in the docs folder.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403018
2009-04-25 13:23:16 +00:00
Davis King
d2444e870a
Updated the load_bmp() function so that it is capable of reading BMP
...
files that have been compressed with the RLE compression sometimes
used for 8bit BMP files.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403017
2009-04-25 00:27:35 +00:00
Davis King
b4cb5a8e4a
Changed code to avoid gcc warning when -W and -Wall are used together.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403016
2009-04-24 22:58:41 +00:00
Davis King
6b277448f4
Changed the code so that gcc doesn't give warnings when supplied with the "-Wall -W"
...
combined warning option.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403015
2009-04-24 22:58:00 +00:00
Davis King
7f75ed83c0
Changed the typedefs for the xml_parser object so that the checked version
...
results in a checked attribute list being passed back to the user when
the parser is used.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403014
2009-04-24 21:08:06 +00:00
Davis King
cf9b912f30
Added a default constructor to the kcentroid object since it can be irritating in
...
some cases without one.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403013
2009-04-24 20:53:00 +00:00
Davis King
4f9f8c9382
Fixed typo in spec.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403012
2009-04-24 20:49:24 +00:00
Davis King
db1e81497c
Fixed typo in spec file.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403011
2009-04-24 20:48:43 +00:00
Davis King
929a78f2c1
Changed the socket read/write code so that it can handle a large number ( > 2 billion)
...
of bytes in I/O calls.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403010
2009-04-24 20:45:10 +00:00
Davis King
ab0e617ef1
Changed the code a little bit so that it should be more portable and
...
robust to variations in how std::streamsize is defined.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403009
2009-04-21 22:44:05 +00:00