Davis King
381230a58f
Changed this example program so it used the cached version of the
...
batch_trainer object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403147
2009-08-05 00:10:23 +00:00
Davis King
a23e5f6224
Fixed some compiler warnings and also a bug in the cached version of the
...
batch_trainer.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403146
2009-07-31 00:12:27 +00:00
Davis King
3f1a7f5c05
Fixed broken link.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403145
2009-07-30 23:45:58 +00:00
Davis King
27683bef4b
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403144
2009-07-30 03:40:09 +00:00
Davis King
8d2243b051
Added the ability to use a kernel cache to the batch_trainer object. I also
...
changed it so that it always calls clear() on the trainer it uses before it
begins training. This way it always forgets the results of previous trainings.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403143
2009-07-30 03:29:01 +00:00
Davis King
644bc76826
Switched the known users link over to mediawiki
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403142
2009-07-30 01:19:34 +00:00
Davis King
3d3ab90cd4
Fixed incorrect ensures clause in the pegasos clear() function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403141
2009-07-26 19:18:30 +00:00
Davis King
6e88b1570c
Refined the comments in this example program a little.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403140
2009-07-24 20:39:54 +00:00
Davis King
6f0feb2d5e
Fixed a spelling error.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403139
2009-07-20 01:56:05 +00:00
Davis King
6c65527410
Changed the thread_pool and future classes so that any mixture of
...
destruction orders between the two is legal.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403138
2009-07-19 15:06:05 +00:00
Davis King
af20cb9f36
Fixed a bug in the cross_validate_trainer_threaded() function. It could deadlock if
...
more than about 10 folds were requested.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403137
2009-07-15 23:33:06 +00:00
Davis King
2e66a59d16
Fixed grammar
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403136
2009-07-15 22:33:45 +00:00
Davis King
000d7f5bb4
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403135
2009-07-12 18:31:38 +00:00
Davis King
3275e58fea
Upgraded the thread_function object so that it is more general. It
...
can now call arbitrary function objects with up to 4 arguments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403134
2009-07-12 18:28:13 +00:00
Davis King
8c10dd9af3
Added some comments to clarify why I put a COMPILE_TIME_ASSERT
...
on function references.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403133
2009-07-12 15:48:11 +00:00
Davis King
82ab1e0da8
Made a release
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403128
2009-07-11 20:04:39 +00:00
Davis King
70d07e6aa4
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403127
2009-07-11 19:58:13 +00:00
Davis King
21606dff8e
Reorganized the term index file so that all the dlib-ml entries
...
are separate from the full set. Also fixed a broken link.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403119
2009-07-11 16:01:44 +00:00
Davis King
de66d652d1
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403114
2009-07-11 14:55:51 +00:00
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