Davis King
7f6758181f
Made a comment more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403715
2010-07-02 00:32:43 +00:00
Davis King
c6abad1f84
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403714
2010-07-02 00:31:24 +00:00
Davis King
991e8946b1
Made these examples more robust. Now if the server's start() function throws an
...
exception it will be printed right away rather than after the user hits
the enter key. I also removed the global server objects since that was
pretty sketchy too.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403713
2010-07-02 00:26:59 +00:00
Davis King
b9f602e1b6
Updated this example so that it shows how to pass arguments to threads
...
by reference using the ref() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403712
2010-07-02 00:23:42 +00:00
Davis King
3ab9b590c0
Minor clarification.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403711
2010-07-02 00:05:17 +00:00
Davis King
8b84be8750
Renamed this file.
...
--HG--
rename : dlib/reference_wrapper.h => dlib/ref.h
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403710
2010-07-01 23:53:56 +00:00
Davis King
c5ca1b7600
Added a reference_wrapper implementation and modified the thread_function
...
slightly so it works with it.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403709
2010-07-01 23:52:16 +00:00
Davis King
b8aa8b2f55
Changed slightly to avoid compiler error from visual studio 7.1
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403708
2010-06-27 03:25:43 +00:00
Davis King
3a302e3f18
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403707
2010-06-27 02:46:28 +00:00
Davis King
25cf8c72dc
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403706
2010-06-27 02:37:11 +00:00
Davis King
2183d6fea7
- Fixed a bug in scale_columns. It said it didn't have any destructive aliasing when in fact it
...
destructively aliased its second argument.
- Moved matrix_exp into its own file
- Removed all the operator templated matrix expression classes from matrix_expressions.h
and replaced them with a single (much simpler) class called matrix_op. This new
class is located in matrix_op.h. Virtually all the code changes in this commit are just
the refactoring needed to support this change. No functionality has been changed. I just
did this because it makes the code a lot simpler.
- Simplified the code for the kernel_matrix() function. I also made it a little more
general. So it should now support just about any possible combination of arguments
that makes any kind of sense for creating a kernel matrix.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403705
2010-06-27 02:32:04 +00:00
Davis King
31785ca332
Fixed grammar
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403704
2010-06-21 02:20:11 +00:00
Davis King
b72e1322e9
Made a release
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403702
2010-06-14 22:49:47 +00:00
Davis King
065c890197
Updated release notes
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403701
2010-06-14 22:33:05 +00:00
Davis King
12861df697
Fixed some typos in the spec for join_rows() and join_cols()
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403700
2010-06-14 21:48:07 +00:00
Davis King
46920540ea
Changed code slightly to avoid compiler error in gcc 3.3
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403699
2010-06-14 21:38:37 +00:00
Davis King
f8a42b9cd4
Made test more robust
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403698
2010-06-14 00:01:59 +00:00
Davis King
39b3e759fe
Added a bit of code to remove basis vectors with zero weights from the output
...
of the reduced2() trainer adapter.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403697
2010-06-13 23:19:44 +00:00
Davis King
022b9f712d
Changed code to avoid what is apparently a bug in gcc 4.1
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403696
2010-06-13 23:03:44 +00:00
Davis King
ce3a1f6a52
Changed code to avoid warning from gcc.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403695
2010-06-13 19:37:45 +00:00
Davis King
90ab2a955b
Made the rbf test more robust
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403694
2010-06-13 19:02:12 +00:00
Davis King
b5303f9f26
Changed the tests to be a little more robust on various compilers.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403693
2010-06-13 18:24:40 +00:00
Davis King
8047ede4a1
gcc 3.3 would sometimes cause this code to throw invalid_svm_nu_error
...
when it shouldn't. This should now be fixed.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403692
2010-06-13 17:49:23 +00:00
Davis King
53ab1fd3ae
Changed code to avoid warning in gcc.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403691
2010-06-13 15:46:14 +00:00
Davis King
ea551f7953
Added missing #include
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403690
2010-06-13 15:23:39 +00:00
Davis King
a075a50648
Made the timer test a little more robust.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403689
2010-06-13 15:16:40 +00:00
Davis King
78ed429fa6
Switched the rbf_network_trainer to use the fill_lisf() function rather than
...
it's simple loop.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403688
2010-06-12 12:32:35 +00:00
Davis King
09f0b541a4
Changed wording of assertion failure message to emphasize that a failed assertion
...
means that an error has been detected, not that the assert itself is the error.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403687
2010-06-11 12:58:30 +00:00
Davis King
d1c333eb82
Modified a print statement.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403686
2010-06-11 12:47:56 +00:00
Davis King
902ec222d6
Changed the dlib::fatal_error so that it sets a termination handler so that
...
the contents of the message get printed to standard error if the user
fails to catch the exception.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403685
2010-06-11 12:37:00 +00:00
Davis King
815f480f5a
Added some more input validation to the deserialization of vector_normalizer_pca objects.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403684
2010-06-10 22:53:54 +00:00
Davis King
c1443d4d1e
Added some tests to make sure that both the ekm and lisf objects
...
measure projection error the same way.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403683
2010-06-08 02:35:43 +00:00
Davis King
3e9a0d426f
Fixed incorrect requirements in the kcentroid constructor. They were a
...
little too weak.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403682
2010-06-08 02:14:57 +00:00
Davis King
b85b965811
Added a missing requirement that the max dictionary size must be greater than 1.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403681
2010-06-08 02:11:07 +00:00
Davis King
1650d8e95c
Simplified the code for reduced() and reduced2() by making them use the
...
kernel_matrix() and fill_lisf() funcions instead of the many for loops
they previously had. In particular, using fill_lisf() makes the reducers
generally a lot faster and a little more accurate.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403680
2010-06-08 00:58:30 +00:00
Davis King
7ef8e93bca
Made spec more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403679
2010-06-07 01:36:55 +00:00
Davis King
51f8777e69
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403678
2010-06-07 01:13:26 +00:00
Davis King
0d148fea23
Updated this example to use the new fill_lisf() function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403677
2010-06-07 01:02:11 +00:00
Davis King
686c547365
Added the fill_lisf() function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403676
2010-06-07 01:00:59 +00:00
Davis King
a5afa68ff9
Added a function to compute projection error into the linearly_independent_subset_finder.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403675
2010-06-06 20:37:27 +00:00
Davis King
cf04ff5f19
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403674
2010-06-05 12:20:13 +00:00
Davis King
eb1074c424
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403673
2010-06-05 12:18:14 +00:00
Davis King
8dad77dd4f
Made the svm_c_ekm_trainer print out the projection error for the margin violators
...
when in verbose mode.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403672
2010-06-04 01:26:03 +00:00
Davis King
fd93200030
Removed some cruft.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403671
2010-06-04 00:10:12 +00:00
Davis King
298cdd1e92
Fixed a bug in the timer_kernel_2 object. In certain rare cases it would stop
...
calling the action function and essentially shut down without being told to do
so.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403670
2010-06-03 23:58:25 +00:00
Davis King
c3932281be
Added the ability to tell a threaded_object that it should restart its thread
...
upon thread termination.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403669
2010-06-03 23:55:57 +00:00
Davis King
24b33ef210
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403668
2010-06-03 03:17:06 +00:00
Davis King
97f311bc10
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403667
2010-06-03 03:15:27 +00:00
Davis King
195a07aa2b
Improved spec
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403666
2010-06-03 03:15:11 +00:00
Davis King
34e5ce7fde
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403665
2010-06-02 23:28:55 +00:00