Davis King
ce01d75d1c
Changed code to compile in visual studio 2003
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403113
2009-07-10 22:31:47 +00:00
Davis King
aa45ec812e
Minor change to avoid compiler warnings.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403112
2009-07-10 21:32:57 +00:00
Davis King
a9ab308e60
I just fixed some warnings and compiler errors you get if you try to compile dlib
...
with the newest version of mingw.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403111
2009-07-10 21:00:37 +00:00
Davis King
f4678b8fb6
Changed code to avoid compiler warning.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403110
2009-07-10 15:54:58 +00:00
Davis King
05e4bb6741
Changed code to avoid compiler warning.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403109
2009-07-10 15:54:22 +00:00
Davis King
3bfa88b127
Fixed a warning you get in mingw.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403108
2009-07-08 21:08:47 +00:00
Davis King
768016e86c
Upgraded the smart_ptr so that it can handle array pointers as well
...
as customer deleter functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403107
2009-07-01 00:16:31 +00:00
Davis King
8e529bf061
Just retabbed this file.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403106
2009-06-30 23:23:57 +00:00
Davis King
6860eec875
Changed the names of the variables in the TIME_THIS macro to avoid
...
any likely name collisions with user's code.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403105
2009-06-30 23:22:56 +00:00
Davis King
c29b9fd678
This commit adds the requirement that matrices being multiplied together
...
aren't empty. Previously this was technically allowed and worked but was
weird. The optimization I checked a few hours ago also breaks when empty
matrices are multiplied together so I'm just adding this new requirement.
I also had to fix a part of the LU decomposition because it was doing an
empty matrix multiplication at one point.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403104
2009-06-26 15:22:12 +00:00
Davis King
d27be3233d
Minor changes to test case.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403103
2009-06-26 14:27:52 +00:00
Davis King
d738ffde30
Made the normalized_function object fully generic by making the
...
normalizer a template argument (with its default set to the vector_normalizer
so this change doesn't break backwards compatibility).
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403102
2009-06-26 13:33:32 +00:00
Davis King
002683b1fa
Changed the default matrix multiplication expression object slightly
...
to optimize it a little more.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403101
2009-06-26 12:35:27 +00:00
Davis King
9da5852d7d
Changed a few things to avoid bugs in visual studio 7.1
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403100
2009-06-25 02:39:05 +00:00
Davis King
2dc2121f5c
Changed the matrix_assign() functions a bit to force the compiler to unroll the
...
assignment loop if it is small and known at compile time.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403099
2009-06-25 01:55:07 +00:00
Davis King
6de07db2a5
Refactored the + and - operators for the dlib::vector object so that they always compile
...
when used with mixed matrix and vector objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403098
2009-06-25 00:39:29 +00:00
Davis King
5ae0c51c98
Changed code slightly to avoid a warning in gcc when -W -Wall is given.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403097
2009-06-24 23:59:29 +00:00
Davis King
7cde1077ec
Fixed typo in spec
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403096
2009-06-24 23:08:18 +00:00
Davis King
26796a8900
Added a missing rethrow statement. The xml parser would
...
eat exceptions thrown by event handlers rather than letting
them propagate out as documented in the specification.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403095
2009-06-24 23:07:29 +00:00
Davis King
f92ba0e20a
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403094
2009-06-19 00:58:52 +00:00
Davis King
5a7fa66488
Added a hook to the logger object that lets you set a different kind of
...
output logging destination (in addition to the std::ostream supported already).
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403093
2009-06-19 00:57:43 +00:00
Davis King
dac8d012f2
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403092
2009-05-31 02:55:55 +00:00
Davis King
03d1a8537b
Renamed unroll_to_column_vector() to reshape_to_column_vector()
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403091
2009-05-31 02:55:38 +00:00
Davis King
ca7a881ad3
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403090
2009-05-31 02:15:37 +00:00
Davis King
be014191d0
Added the unroll_to_column_vector() function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403089
2009-05-31 02:14:11 +00:00
Davis King
20a39403b0
Fixed grammar.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403088
2009-05-30 18:41:37 +00:00
Davis King
7e5c498109
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403087
2009-05-30 18:32:19 +00:00
Davis King
56c1c729b5
Fixed grammar.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403086
2009-05-30 18:31:51 +00:00
Davis King
1a55d39afd
Minor comment cleanup.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403085
2009-05-30 18:25:58 +00:00
Davis King
209cbbe356
Added an example showing how to use the config_reader.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403084
2009-05-30 18:01:38 +00:00
Davis King
17035449a7
Made the spec more clear.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403083
2009-05-30 16:41:39 +00:00
Davis King
8bbaca6fc1
Fixed grammar
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403082
2009-05-30 15:41:38 +00:00
Davis King
3387105fcb
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403081
2009-05-30 15:38:13 +00:00
Davis King
950147aa91
Added a comment about the configure_loggers_from_file() function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403080
2009-05-30 14:59:59 +00:00
Davis King
9ebae0621d
Fixed grammar
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403079
2009-05-30 14:47:15 +00:00
Davis King
8967608512
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403078
2009-05-29 21:10:54 +00:00
Davis King
59fcaaff22
Reworked the config_reader interface a little to make it easier to use. In
...
particular, I removed the enumerator over blocks in favor of a simple
get_blocks() function that just returns a std::vector of all the blocks.
I also removed the requires clauses on the block and key accessor functions
and instead made a request for a non-existent key/block result in a non-fatal
exception. This way users can let the config reader perform a more natural
role in config file validation (by catching this exception and acting accordingly).
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403077
2009-05-29 20:05:40 +00:00
Davis King
9ff5b39de7
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403076
2009-05-29 17:20:08 +00:00
Davis King
f36501d761
Updated the equal() function so that it can compare complex matrices.
...
I also changed a matrix test case to be more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403075
2009-05-29 17:08:00 +00:00
Davis King
eeb0b8061d
Made the clp checker spec more clear.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403074
2009-05-29 16:05:45 +00:00
Davis King
b2efcc52d0
Simplified the matrix code slightly. This also fixed a strange compile time bug
...
that you can get from gcc in certain cases.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403073
2009-05-29 16:02:23 +00:00
Davis King
8204dd7c9b
Fixed grammar
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403072
2009-05-29 15:58:50 +00:00
Davis King
b33e8438bd
Fixed grammar
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403071
2009-05-29 15:57:42 +00:00
Davis King
3e033ad2dc
Fixed the gaussian() function used by the SURF code. It wasn't
...
computing a properly weighted Gaussian function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403070
2009-05-29 15:50:23 +00:00
Davis King
6d432586ed
Changed the reduced_decision_function_trainer2 object so that it performs a final
...
optimization of the weights before it finishes. This ensures that we always
end up with the best weights for the support vectors we obtain after the
conjugate gradient optimization step.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403069
2009-05-28 01:19:06 +00:00
Davis King
8122c10c72
Cleanup test code and fixed compiler warning.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403068
2009-05-27 02:38:46 +00:00
Davis King
925a9be91c
Added overloads of the kernel_derivative object for all the kernels in dlib.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403067
2009-05-27 02:21:00 +00:00
Davis King
4ed6922b37
Made a release
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403065
2009-05-25 19:16:47 +00:00
Davis King
3a698e63e6
Removed a flip command that was causing trouble.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403064
2009-05-25 19:05:08 +00:00
Davis King
7a8a799970
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403063
2009-05-25 18:40:58 +00:00