Commit Graph

724 Commits

Author SHA1 Message Date
Davis King
95ccc17e9a Added implicit conversions of std_vector_c back to std::vector so that
it can be used with functions that expect std::vector objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402964
2009-03-22 13:46:54 +00:00
Davis King
db16687922 Fixed some typos in the spec files.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402963
2009-03-20 18:48:42 +00:00
Davis King
8665122804 Fixed the code so that it doesn't assume sparse vectors are of std::map type.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402962
2009-03-20 18:29:04 +00:00
Davis King
f30c36e579 Tweaked epsilon values to avoid false test failures.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402961
2009-03-20 02:25:17 +00:00
Davis King
4dcc40634a Fixed the dictionary_size() member functions in the kcentroid overloads so
that they always return the correct numbers.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402960
2009-03-20 02:08:34 +00:00
Davis King
6bb0f8d05d Added a lot more tests for the kcentroid object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402959
2009-03-20 01:13:26 +00:00
Davis King
8791dcc9c2 cleaned up the code
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402958
2009-03-20 01:12:18 +00:00
Davis King
8d528ef763 Added optimized overloads of the kcentroid object for various
linear kernels.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402957
2009-03-20 00:56:37 +00:00
Davis King
67f16199b9 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402956
2009-03-20 00:54:26 +00:00
Davis King
f35d683fd2 Added some more stuff to the sparse vector functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402955
2009-03-20 00:54:10 +00:00
Davis King
41f2f3e83c Added a missing requirement and ASSERT.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402954
2009-03-20 00:49:50 +00:00
Davis King
e7abcf74fd updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402953
2009-03-19 20:03:08 +00:00
Davis King
a7eb6b61df Fixed a compile time bug in the offset_kernel. Also fixed some
bugs in the sparse vector operations and added a few more new
operations as well.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402952
2009-03-19 18:28:26 +00:00
Davis King
028c67edc4 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402951
2009-03-19 16:58:48 +00:00
Davis King
e3aca381c0 updated comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402950
2009-03-19 16:54:12 +00:00
Davis King
5009d5d0f6 Added a set of kernels that can operate on sparse vectors.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402949
2009-03-19 16:32:40 +00:00
Davis King
9b3dca55ef Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402948
2009-03-19 15:44:04 +00:00
Davis King
1213a2ae7a Updated this example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402947
2009-03-18 02:06:59 +00:00
Davis King
9ed0aa3dcc Added Steven Van Ingelgem's patch to add the body of data posted back to the
server into the incoming data object given to the server_http::on_request() handler.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402946
2009-03-18 02:06:36 +00:00
Davis King
3a9f6b4b91 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402944
2009-03-17 02:37:33 +00:00
Davis King
8e5310a3d9 Made the specs more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402943
2009-03-17 00:34:33 +00:00
Davis King
88ef3d5cfd Changed the style sheet so that only the web version contains
the piwik javascript stuff.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402942
2009-03-16 21:29:09 +00:00
Davis King
2f4ea85448 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402941
2009-03-16 03:30:57 +00:00
Davis King
c30548dbe7 Changed the kcentroid object so that its default is to keep more linearly
independent vectors rather than newer vectors.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402940
2009-03-16 03:28:41 +00:00
Davis King
7404ceb822 Updated the examples to make more sense with respect to the updated kcentroid.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402939
2009-03-16 03:26:54 +00:00
Davis King
43a7f59054 Updated the rank features example to discuss the newer kcentroid
max sv argument.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402938
2009-03-16 02:58:47 +00:00
Davis King
40050a2870 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402937
2009-03-15 23:24:32 +00:00
Davis King
cd6f196eb7 Updated the kkmeans example to show how to use the new max sv
settings of the kcentroid.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402936
2009-03-15 23:24:08 +00:00
Davis King
8432290011 Broke the matrix_la.cpp file into four separate files.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402935
2009-03-15 21:27:06 +00:00
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