Commit Graph

674 Commits

Author SHA1 Message Date
Davis King 61e6230cf4 Added an example program for the pegasos algorithm.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402912
2009-03-08 17:38:04 +00:00
Davis King 299377a86b Added some tests for the svm_pegasos object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402911
2009-03-08 16:10:44 +00:00
Davis King d95195cb2c Fixed grammar.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402910
2009-03-08 16:07:34 +00:00
Davis King 9586f8aadd Optimized the kernel cache usage slightly.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402909
2009-03-08 15:49:58 +00:00
Davis King 46f1ac9b59 Changed #includes to link to the abstract docs rather than
implementation files.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402908
2009-03-08 05:42:14 +00:00
Davis King b5774b2a71 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402907
2009-03-08 05:39:36 +00:00
Davis King 0642f20a8c Cleaned up the pegasos code and filled out the spec file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402906
2009-03-08 05:38:57 +00:00
Davis King f97644f3d0 Added some missing requirements to a few functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402905
2009-03-07 21:52:48 +00:00
Davis King 43354bebae Fixed compiler error in visual studio 7.1
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402904
2009-03-07 21:32:09 +00:00
Davis King 7ac3972196 Added a get_socket_descriptor() function to the connection class.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402903
2009-03-07 20:38:55 +00:00
Davis King 3f7abc834b Made the std_vector_c able to copy directly from std::vector objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402902
2009-03-07 16:05:50 +00:00
Davis King ad64c286ff Fixed the code so that it works properly with the new row vector
range() rather than the previous column vector range().

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402901
2009-03-07 05:10:29 +00:00
Davis King aa76eec386 Changed the cross_validate_trainer() function so that it catches
invalid_svm_nu_error exceptions and just gives them a bad score rather
than letting them get out and annoy the user.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402900
2009-03-06 21:55:39 +00:00
Davis King f61ef323e0 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402899
2009-03-06 20:56:28 +00:00
Davis King cceadf370e Updated matrix example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402898
2009-03-06 20:33:23 +00:00
Davis King 484d51039b - Added some tests for the new linspace, logspace, and cartesian_product functions.
- Updated old tests now that range() gives row vectors instead of column vectors.
  - Fixed a bug in subm() that showed up when statically dimensioned row vectors
    were used to select a sub matrix.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402897
2009-03-06 20:21:22 +00:00
Davis King 3d55900934 - Added the randm(), linspace(), logspace() and cartesian_product()
functions
  - Added an overload of pow() for pow(scalar, matrix)
  - Changed the range() function so that it returns row vectors
    instead of column vectors.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402896
2009-03-06 19:24:38 +00:00
Davis King 983b200bf9 Fixed invalid message in an assert statement.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402895
2009-03-06 17:15:34 +00:00
Davis King bf2796069d Templated the matrix_range_exp so that it can use types other than long.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402894
2009-03-06 04:42:21 +00:00
Davis King e3c0792968 Added a try catch block to catch invalid_svm_nu_error exceptions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402893
2009-03-06 04:16:45 +00:00
Davis King 70b7137c1f updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402892
2009-03-03 02:00:51 +00:00
Davis King d0f6641004 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402891
2009-03-02 03:37:38 +00:00
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