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
Davis King
46f679322d
Added a tool for measuring how long a task will take.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403873
2010-11-07 13:25:15 +00:00
Davis King
7999663aa3
Fixed htmlify's XML output so that it handles Qt's slots: declarations
...
properly (i.e. doesn't crash or output the wrong results)
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403872
2010-11-06 13:46:32 +00:00
Davis King
2f899eeb6d
Switched the eigenvalue_decomposition from using syev to syevr since
...
syevr is supposed to be better.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403871
2010-11-04 23:49:08 +00:00
Davis King
916b159a6b
Improved the way we link to the Intel MKL. Now it will link
...
right against newer versions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403870
2010-11-04 23:22:43 +00:00
Davis King
e7e0d43b09
Minor change to avoid compiler warning.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403869
2010-11-04 00:16:47 +00:00
Davis King
265aaf47ad
Added missing std::abs() calls.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403868
2010-10-31 20:02:23 +00:00
Davis King
02cdfcf454
Made the code in chol() more robust to indefinite matrices.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403867
2010-10-31 19:43:25 +00:00
Davis King
116cf434c6
Updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403866
2010-10-31 18:30:23 +00:00
Davis King
0a7c3b9391
Removed two cout statements I used for testing but forgot to remove before
...
committing code to subversion. Oops.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403865
2010-10-31 18:22:45 +00:00
Davis King
28b5980f1d
Added a new scale_rows() function. I also overloaded the * operator so that the
...
expressions mat*diagm(v) and diagm(v)*mat get bound to calls to scale_columns() and
scale_rows() respectively.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403864
2010-10-31 18:20:15 +00:00
Davis King
1165762490
Added a comment about aliasing and the kernel_matrix expression.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403863
2010-10-31 16:56:42 +00:00
Davis King
64dc4c2378
Improved the alias detection capability of kernel_matrix() expressions. Now statements
...
of the form: sample = kernel_matrix(kern, *, sample) can be used since the aliasing of
sample will be handled.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403862
2010-10-31 14:59:51 +00:00
Davis King
2a544906e5
Changed the assert macros so that they don't use __PRETTY_FUNCTION__
...
with gcc 4.4.5 since, on Ubuntu at least, this version of gcc segfaults
when __PRETTY_FUNCTION__ is used within certain template constructs.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403861
2010-10-28 22:32:09 +00:00
Davis King
4f86660536
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403860
2010-09-26 14:20:43 +00:00
Davis King
6f2edac080
Added get_parent_directory()
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403859
2010-09-26 14:16:20 +00:00
Davis King
6efd2b750b
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403858
2010-09-25 20:31:27 +00:00
Davis King
e68116ca8f
Made X11 code a little more robust (I think).
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403857
2010-09-25 20:23:11 +00:00
Davis King
29e07bdf33
Fixed file headers
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403856
2010-09-25 20:22:06 +00:00
Davis King
d830412a3b
Added a class for reading JPEG image files.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403855
2010-09-25 20:21:22 +00:00
Davis King
c27bad2f77
Improved the way we look for available BLAS and LAPACK libraries.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403854
2010-09-25 14:01:13 +00:00
Davis King
a022a17959
Added a compile time assert which makes sure you don't accidentally
...
give a non-linear kernel to the svm_c_linear_trainer.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403853
2010-09-19 12:55:58 +00:00
Davis King
e56d2d50b8
made a release
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403846
2010-09-16 02:51:11 +00:00
Davis King
47f3d65a06
updated release notes
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403845
2010-09-16 02:42:43 +00:00
Davis King
b34781706c
Adjusted the lambda search code so that when two lambdas give the same
...
leave-one-out-error we always pick the bigger lambda. This should be
slightly better since, all other things equal, bigger lambda usually
gives better generalization.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403844
2010-09-15 22:15:35 +00:00
Davis King
6e6858bc38
Added a test for make_symmetric()
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403843
2010-09-15 22:01:10 +00:00
Davis King
f070836838
Added some tests to exercise the column major code paths.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403842
2010-09-14 22:12:01 +00:00
Davis King
f542d67d5d
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403841
2010-09-14 01:54:50 +00:00
Davis King
72f148e4ec
Minor change to avoid compiler warning in visual studio.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403840
2010-09-14 01:35:34 +00:00
Davis King
b54d9d2b4a
Setup the qr_decomposition to use LAPACK when available. Also removed the
...
qr_decomposition::get_householder() function since I don't currently have any
way to test it or precisely define what it does.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403839
2010-09-14 01:33:56 +00:00
Davis King
f0fd26ba5a
Added some static_casts to avoid compiler warnings.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403838
2010-09-13 03:06:28 +00:00
Davis King
4da79d8dd5
Added an overloaded matrix_assign() that handles symmetric kernel_matrix()
...
expressions more efficiently by only evaluating the upper triangular part
of the matrix.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403837
2010-09-13 02:51:44 +00:00
Davis King
69e3f4fe3e
Changed code to make sure it always calls the symmetric eigenvalue solver.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403836
2010-09-13 01:56:42 +00:00
Davis King
026abedb02
Made cholesky_decomposition use the triangular solver
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403835
2010-09-13 01:06:45 +00:00
Davis King
788b38d280
Added file headers
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403834
2010-09-13 00:51:05 +00:00
Davis King
438ec2544a
Setup the LU decomposition code to use LAPACK when available. I also removed the older
...
version from numerical recipes and made everything depend on the lu_decomposition object
instead. Finally, I added in a triangular solver that uses BLAS when available and made
the lu_decomposition object us it.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403833
2010-09-13 00:49:06 +00:00
Davis King
9de0a49cce
Fixed typo in comment
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403832
2010-09-12 20:34:58 +00:00
Davis King
b72ecc1c66
Changed pinv() so it uses svd3() so that it can use LAPACK when available.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403831
2010-09-12 19:19:15 +00:00
Davis King
e4b392f1e6
Changed code to avoid compile time bug.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403830
2010-09-12 18:56:31 +00:00
Davis King
6f55c64801
Various minor fixes to the LAPACK bindings.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403829
2010-09-12 13:08:59 +00:00
Davis King
0c06fb5749
Added a make_symmetric() statement so that the most efficient eigenvalue_decomposition
...
method is used.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403828
2010-09-12 13:08:06 +00:00
Davis King
bfe88d642a
Made tests slightly more reasonable.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403827
2010-09-12 13:06:46 +00:00
Davis King
ecd51c42f6
Setup the SVD routines to use LAPACK when available. I also changed the svd functions
...
so that you can't supply output matrices which use both column and row major layouts.
Now all the output matrices need to use the same memory layout.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403826
2010-09-12 03:04:18 +00:00
Davis King
76981f1e57
Made bindings more robust
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403825
2010-09-12 02:44:44 +00:00
Davis King
9446d98dbc
Made the cholesky decomposition code use the xPOTRF routines in LAPACK
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403824
2010-09-12 01:18:34 +00:00