Commit Graph

802 Commits

Author SHA1 Message Date
Davis King
d35d27bf0f Added missing std:: qualifier.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402890
2009-03-02 03:15:28 +00:00
Davis King
ed52af2229 Added an initial cut of the pegasos stuff.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402889
2009-03-02 03:11:07 +00:00
Davis King
a55250c790 Removed unnecessary #include.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402888
2009-03-02 03:01:32 +00:00
Davis King
27f9e6ef67 Modified the svm_nu_trainer so that it uses its kernel
matrix cache more efficiently.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402887
2009-03-01 21:29:45 +00:00
Davis King
3cb6611d61 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402886
2009-03-01 16:04:15 +00:00
Davis King
f2de334c2c Added some functions to the kcentroid to allow the user to
compute the inner_product() of kcentroids as well as a few
other useful things.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402885
2009-03-01 16:03:26 +00:00
Davis King
3846bc63e8 Added the offset_kernel
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402884
2009-03-01 14:58:00 +00:00
Davis King
20008940ac Made the spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402883
2009-03-01 14:50:27 +00:00
Davis King
815cac30b6 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402882
2009-02-28 19:38:30 +00:00
Davis King
2d7982cf41 Added a trace() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402881
2009-02-28 19:32:57 +00:00
Davis King
d4072818c3 cleanup spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402880
2009-02-28 19:24:50 +00:00
Davis King
543da8097c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402879
2009-02-28 19:13:52 +00:00
Davis King
4deccf5036 Added some tests for the new min/max functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402878
2009-02-28 19:08:35 +00:00
Davis King
af25d30ad3 Added functions to find the index of the min and max element of a vector.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402877
2009-02-28 19:03:56 +00:00
Davis King
050b2409af Fixed incorrect message in an assert.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402876
2009-02-19 03:27:23 +00:00
Davis King
49532acf87 Added licensing comments to the example programs.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402875
2009-02-17 01:45:57 +00:00
Davis King
6f7b7211c3 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402874
2009-02-16 03:08:06 +00:00
Davis King
9ccab1b21a Added the find_min_and_max() function. I also changed the code in the
lu_decomposition::is_singular() function to avoid what appears to be a
bug in gcc 4.2.4 that caused one of the regression tests to segfault
when built with -O3.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402873
2009-02-16 03:03:19 +00:00
Davis King
3919e4d51a Added some functions to the rectangle to make it easy
to get the corner points.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402872
2009-02-15 18:57:51 +00:00
Davis King
c6d4e03f55 Fixed a bug in the way Content-type was handled in HTTP posts.
(See bug #2600378)

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402871
2009-02-15 17:50:41 +00:00
Davis King
2712f4e361 Made the howto more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402870
2009-02-15 17:14:50 +00:00
Davis King
ea7f4e65dd Update cmake file so it doesn't give warnings
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402869
2009-02-12 11:34:43 +00:00
Davis King
5130d89f2f Fixed a bug in an assert statement and also changed the code to avoid
potential compiler warnings.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402868
2009-02-09 23:00:17 +00:00
Davis King
cdec582070 Adjusted the epsilon to avoid false positives.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402867
2009-02-08 19:30:19 +00:00
Davis King
465d0763eb Changed cmake file so that it can find the 64bit Intel MKL when
appropriate.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402866
2009-02-08 14:42:35 +00:00
Davis King
31a4736c76 Changed code to avoid a potential race condition during program termination.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402865
2009-02-05 03:09:58 +00:00
Davis King
d4d79c64de Renamed cdiv to cdiv_ to avoid conflicts with code that #defines cdiv
to some macro.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402864
2009-02-05 02:41:15 +00:00
Davis King
46e1791568 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402863
2009-02-05 02:34:34 +00:00
Davis King
1c1730c1d0 Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402861
2009-02-04 03:50:08 +00:00
Davis King
5cc628479b - Added a bool to protect the unregister_thread_end_handler() function from
being called from the destructor of a global object when the state object
    the unregister_thread_end_handler() function uses has already been destroyed.
  - Changed the thread pool so that it only gets destroyed if there aren't any
    outstanding threads when the program ends.  If there are threads still
    running user tasks then the thread pool never attempts to destruct.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402860
2009-02-04 03:24:29 +00:00
Davis King
e2ea265fc6 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402859
2009-02-04 02:21:56 +00:00
Davis King
01efae59a1 Fixed a race condition in the logger object. It was missing a needed call
to unregister_thread_end_handler().  What could happen in some scenarios is,
during program termination, a global part of the logger object could be destructed
when it still had outstanding thread end handlers registered to it.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402858
2009-02-04 01:59:41 +00:00
Davis King
d0ec0fbeeb updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402857
2009-02-04 00:30:31 +00:00
Davis King
3ae82ec017 Cleaned up the way the BLAS prototypes were declared.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402856
2009-02-04 00:12:19 +00:00
Davis King
e1a15ce101 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402855
2009-02-03 03:29:55 +00:00
Davis King
0e02ea50d1 Added some missing comments and asserts.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402854
2009-02-03 03:19:10 +00:00
Davis King
ea575d03bf Added the real_eigenvalues() function and also cleaned up a few things.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402853
2009-02-03 03:06:15 +00:00
Davis King
3e664e8d95 Removed a confusing comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402852
2009-02-03 03:02:50 +00:00
Davis King
0eac1d2134 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402851
2009-02-02 04:26:44 +00:00
Davis King
71e4796147 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402850
2009-02-01 21:28:28 +00:00
Davis King
78d7c5bd0e Moved all the linear algebra code into the matrix_la.h file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402849
2009-02-01 21:12:11 +00:00
Davis King
1e570983c9 Updated example now that the cholesky_decomposition has been renamed.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402848
2009-02-01 20:39:56 +00:00
Davis King
b25d303e6d fixed some compiler warnings and errors in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402847
2009-02-01 20:36:59 +00:00
Davis King
e77ce7d7a2 Fixed dlib::abs() so that it works right on complex matrices.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402846
2009-02-01 20:34:19 +00:00
Davis King
b1e2c6ca37 Added QR, LU, cholesky, and eigenvalue decomposition classes.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402845
2009-02-01 19:31:01 +00:00
Davis King
6309e821f0 Fixed some errors in the requirements for calling the new rowm() and colm()
functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402844
2009-01-31 20:37:05 +00:00
Davis King
d8b7db202d Changed the reciprocal() function so that it can work with
complex numbers.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402843
2009-01-31 18:39:10 +00:00
Davis King
4470e29cf8 Fixed an incorrect comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402842
2009-01-28 22:30:09 +00:00
Davis King
930a59dc60 Added an option to control linking with libpng
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402841
2009-01-26 23:31:48 +00:00
Davis King
5a2a4f340f Made the thread destruction a little more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402840
2009-01-25 22:14:40 +00:00