Davis King
291991b665
Minor changes to make code more robust.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403924
2010-12-01 00:57:50 +00:00
Davis King
b73c6b0335
added missing public: qualifier.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403923
2010-11-28 21:13:41 +00:00
Davis King
298a856b60
Made the trust region solver more robust.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403922
2010-11-28 19:22:52 +00:00
Davis King
0b31ba64e6
Upgraded the derivative() function so it can work on functions with two arguments.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403921
2010-11-28 19:13:30 +00:00
Davis King
9e863f9b68
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403920
2010-11-26 23:01:25 +00:00
Davis King
682f6b3dff
Added a trust region optimizer.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403919
2010-11-26 22:23:09 +00:00
Davis King
571aff204c
Added some comments to the spec.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403918
2010-11-26 18:49:03 +00:00
Davis King
ab0b14adb2
Fixed grammar.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403917
2010-11-26 15:27:00 +00:00
Davis King
f75c343f2a
Added some comments about how chol() behaves.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403916
2010-11-21 13:46:21 +00:00
Davis King
7a479f80c1
Added a bunch of overloads to catch operations on diagonal matrices
...
and use more efficient code paths for them. For example, inv(diagm(d))
turns into diagm(reciprocal(d)).
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403915
2010-11-21 02:34:07 +00:00
Davis King
d031d6053d
Fixed tabbing
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403914
2010-11-20 14:03:42 +00:00
Davis King
28f2c0dfbf
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403913
2010-11-19 00:44:41 +00:00
Davis King
176b3db2bb
Added missing comment about the QP needing to be convex.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403912
2010-11-19 00:44:26 +00:00
Davis King
97a37ae357
Updated example
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403911
2010-11-18 03:14:51 +00:00
Davis King
674fd7aa5b
Updated matrix example.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403910
2010-11-18 01:29:32 +00:00
Davis King
88b37e6dcf
Added the ability to add/subtract scalar values to/from all the elements of a matrix
...
using the - and + operators.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403909
2010-11-18 01:28:16 +00:00
Davis King
fdb2b7d0e0
Moved serialize definition outside class since some compilers will fail to compile
...
friend functions when they aren't declared in this way.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403908
2010-11-18 01:05:28 +00:00
Davis King
00ee11283e
Updated a comment.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403907
2010-11-18 00:44:01 +00:00
Davis King
85d75dae0e
Added missing *= operator
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403906
2010-11-17 01:49:54 +00:00
Davis King
3124735edd
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403905
2010-11-13 20:08:16 +00:00
Davis King
d64b987ebd
Made a release
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403903
2010-11-13 20:04:48 +00:00
Davis King
0547ed1012
Updated release notes
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403902
2010-11-13 19:52:45 +00:00
Davis King
e71c843ec0
Updated makefile
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403901
2010-11-13 19:38:14 +00:00
Davis King
dffabf2dfe
Increased the number of MCMC rounds so that the bayes nets test
...
is less likely to indicate failure.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403900
2010-11-13 19:02:36 +00:00
Davis King
d04d0b4b6d
Made the cmake file for finding blas more robust.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403899
2010-11-13 18:30:44 +00:00
Davis King
6de61008c7
Added some code to avoid a bug in an older LAPACK implementation on Debian Etch.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403898
2010-11-13 17:05:52 +00:00
Davis King
c9f5ba1020
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403897
2010-11-13 03:48:51 +00:00
Davis King
a0306d4a24
Added flipud() and fliplr() matrix functions. I also renamed
...
the scale_rows_columns.cpp test file to matrix4.cpp.
--HG--
rename : dlib/test/scale_rows_columns.cpp => dlib/test/matrix4.cpp
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403896
2010-11-13 03:48:23 +00:00
Davis King
bdd4bcbfba
Added a missing requirement to sort_basis_vectors()
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403895
2010-11-12 23:36:56 +00:00
Davis King
84bd5a6187
Fixed this example to work now that dictionary_size() is called size()
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403894
2010-11-12 23:14:44 +00:00
Davis King
03ee21694a
- Renamed the linearly_independent_subset_finder's dictionary_size() member function to
...
size(). This way, linearly_independent_subset_finder objects can be used in many
templated functions which expect objects which look like arrays.
- Generalized the kernel_matrix() function slightly so that it can work with anything
that looks like an array. This now includes linearly_independent_subset_finder objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403893
2010-11-12 23:13:56 +00:00
Davis King
d3bccacd4f
Removed the old is_same_object function from set_utils
...
since it conflicts with the new one in some cases.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403892
2010-11-12 18:16:08 +00:00
Davis King
577ef82de0
Made this function capable of accepting anything that can be converted to
...
a matrix via vector_to_matrix()
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403891
2010-11-12 18:07:24 +00:00
Davis King
0d1e82e762
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403890
2010-11-12 17:52:38 +00:00
Davis King
5f08c0653a
made spec more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403889
2010-11-12 17:45:25 +00:00
Davis King
fd31f948b4
Added a function for performing supervised basis selection.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403888
2010-11-12 17:37:15 +00:00
Davis King
656251855b
updated svn:ignore list
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403887
2010-11-12 17:36:34 +00:00
Davis King
d4a3e28035
Updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403886
2010-11-12 15:28:24 +00:00
Davis King
c36d88aa5a
Added the is_same_object() function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403885
2010-11-12 14:15:54 +00:00
Davis King
42175e8f95
Changed htmlify so that file paths in XML output always
...
use / regardless of which platform htmlify executes under.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403884
2010-11-10 01:57:28 +00:00
Davis King
6c1296baaa
Updated spec to reference the correct LAPACK routine.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403883
2010-11-10 01:51:26 +00:00
Davis King
9aa54e9f57
Clarified spec
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403882
2010-11-10 01:44:59 +00:00
Davis King
3c49e9adeb
Added some tests for the string_assign object.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403881
2010-11-10 01:33:00 +00:00
Davis King
126ca6eb19
Updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403880
2010-11-10 01:17:54 +00:00
Davis King
e0837d857b
Fixed a typo
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403879
2010-11-10 01:17:39 +00:00
Davis King
9cab0eca08
Updated the examples to use dlib::sa rather than string_cast.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403878
2010-11-10 01:10:22 +00:00
Davis King
528005a159
Improved the string_assign utility.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403877
2010-11-10 01:08:13 +00:00
Davis King
6b34d376f8
Added the string_assign tool
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403876
2010-11-10 00:45:33 +00:00
Davis King
9181bfd809
Fixed a typo found by Matt P. Dziubinski
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403875
2010-11-09 23:02:00 +00:00
Davis King
97da8e84b2
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403874
2010-11-07 13:32:43 +00:00