Davis King
44d2234002
Removed the pixel.cpp file and moved the few things that were
...
in it into pixel.h. I did this to make sure that all the things
that #include pixel.h are always "header-only" since most of
dlib is header-only already.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402934
2009-03-15 18:23:07 +00:00
Davis King
937f61b806
Reorganized the stuff on the algorithms page. I pulled the machine learning
...
and bayesian networking stuff out and gave them their own pages.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402933
2009-03-15 17:42:11 +00:00
Davis King
0955ec45ba
Update http server example to work with new interface.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402932
2009-03-15 13:45:37 +00:00
Davis King
75b4c4fc17
Merged in Steven Van Ingelgem's patch to cleanup the HTTP server and
...
add new functionality. This breaks backwards compatibility with the
previous on_request() interface but it is easy to update old code and
it is now much cleaner.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402931
2009-03-15 13:44:55 +00:00
Davis King
e5dbf8ffd3
Added the strings_equal_ignore_case() functions.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402930
2009-03-15 13:40:15 +00:00
Davis King
c123f0c14e
Updated this example to use the new svm_pegasos interface.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402929
2009-03-14 21:57:33 +00:00
Davis King
c6cb4d81ce
Changed the kcentroid so that you can tell it to keep the most linearly
...
independent vectors rather than the newest vectors. I then changed the
svm_pegasos object so that it has a max number of support vector setting
so that the user can supply an upper limit on the number of support
vectors to use. Note that these changes broke backwards compatibility
with the previous serialized format of these objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402928
2009-03-14 21:49:39 +00:00
Davis King
56ab4f8b1d
This object was throwing away the wrong vector the first time
...
it started to prune the set of independent vectors. All subsequent
prunings were right, just not the first one.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402927
2009-03-14 21:40:52 +00:00
Davis King
0b8492bedc
Fixing grammar
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402926
2009-03-14 20:40:31 +00:00
Davis King
37870e17af
Fixed a spelling error
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402925
2009-03-14 20:35:41 +00:00
Davis King
e446ffb124
Fixed incorrect comment.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402924
2009-03-10 23:44:20 +00:00
Davis King
b81806fce2
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402923
2009-03-10 01:52:28 +00:00
Davis King
2004d60f8b
Updated sf.net logo and also setup the web analytics stuff.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402922
2009-03-10 01:48:58 +00:00
Davis King
89bc9c129a
Made a release
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402920
2009-03-09 01:42:22 +00:00
Davis King
0678cbb83b
Changed code to avoid a compiler warning in mingw
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402919
2009-03-08 19:11:48 +00:00
Davis King
0e5d221540
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402918
2009-03-08 19:09:19 +00:00
Davis King
50b3886d4a
Fixed compiler error in visual studio
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402917
2009-03-08 18:36:06 +00:00
Davis King
91c95e0220
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402916
2009-03-08 18:13:08 +00:00
Davis King
67c6bdd29f
Made the specs more clear.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402915
2009-03-08 18:12:30 +00:00
Davis King
f197611dd6
Grammar and general cleanup.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402914
2009-03-08 18:01:43 +00:00
Davis King
8fed4f4c4f
Made the spec more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402913
2009-03-08 17:42:42 +00:00
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