Commit Graph

1899 Commits

Author SHA1 Message Date
Davis King 35f117702b Changed the base64 object so you don't have to say base64::kernel_1a anymore to
declare it.  Now you just say base64.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404223
2011-04-18 18:22:33 +00:00
Davis King 89f51930c3 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404222
2011-04-18 15:03:24 +00:00
Davis King 3a8e81dda5 You can now declare byte_orderer by saying just byte_orderer rather than
byte_orderer::kernel_1a.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404221
2011-04-18 15:02:29 +00:00
Davis King a08996158d Added a unit test for the byte orderer component
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404220
2011-04-18 14:58:27 +00:00
Davis King 55784ffee6 Simplified pipe examples by removing the ::kernel_1a stuff now that it is
no longer required.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404219
2011-04-18 14:38:10 +00:00
Davis King 4d119367ef updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404218
2011-04-18 13:59:46 +00:00
Davis King cffce9b025 Changed the pipe so you don't have to say pipe<type>::kernel_1a anymore. Now you
just say pipe<type>.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404217
2011-04-18 13:59:27 +00:00
Davis King c57c860a2b updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404216
2011-04-18 13:50:17 +00:00
Davis King 6bbfc7e809 Changed the crc32 object so you don't have to say crc32::kernel_1a anymore to
declare it.  You just say crc32.  I also added some unit tests for it as well
as a few minor convenience functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404215
2011-04-18 13:47:43 +00:00
Davis King 9301387000 Made it so you can reset a console_progress_indicator and use
it more than once.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404214
2011-04-17 21:50:56 +00:00
Davis King d4d090f1cf The last commit left something in checking (i.e. _c mode).
Just switching it back to non-checking mode.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404213
2011-04-09 01:21:10 +00:00
Davis King 4af255e286 Added a missing requires clause to the get_sum_of_area() function
in the integral_image.  I also made the integral_image work
with signed pixel types.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404212
2011-04-08 01:11:31 +00:00
Davis King 7745c5f978 Modified the probabilistic() trainer adapter (and the train_probabilistic_decision_function() routine)
so that they work with objects which have an interface compatible with std::vector rather than strictly
just std::vector objects.  For example, random_subset_selector objects can be used (as was the case in
some previous versions of dlib).

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404211
2011-04-07 00:37:55 +00:00
Davis King eba0c564d5 Added a value_type to the random_subset_selector so that it is more compatible
with the std::vector interface.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404210
2011-04-07 00:35:22 +00:00
Davis King 973e8b4d61 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404207
2011-03-24 23:56:02 +00:00
Davis King ea5c57a2a0 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404205
2011-03-24 23:48:47 +00:00
Davis King 2a16d0c811 Fixed a compile time error that happens on debian's gcc 4.1.2
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404204
2011-03-24 23:42:41 +00:00
Davis King 6bc4066acf updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404203
2011-03-24 23:23:01 +00:00
Davis King 7e9d7f0705 added to svn:ignore list
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404202
2011-03-24 23:15:59 +00:00
Davis King e89d424e5e fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404201
2011-03-24 22:20:43 +00:00
Davis King 4162c18f69 minor change to avoid compiler warning in visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404200
2011-03-24 02:55:06 +00:00
Davis King f6ddef170e updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404199
2011-03-24 02:44:44 +00:00
Davis King e11cf36f63 Added a unit test for the new svm_multiclass_linear_trainer.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404198
2011-03-24 02:34:54 +00:00
Davis King 2b4b5e547e Filled out spec and cleaned up code.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404197
2011-03-24 02:23:59 +00:00
Davis King 0cd9fbd92a Added some missing DLIB_ASSERT statements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404196
2011-03-24 02:08:31 +00:00
Davis King 640acab208 Moved the new multiclass svm trainer into dlib. Still need to clean up the code
and setup the abstract file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404195
2011-03-24 01:52:44 +00:00
Davis King 7cf342f994 Fixed compile time error
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404194
2011-03-24 01:51:56 +00:00
Davis King ef4523f34c updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404193
2011-03-23 23:44:08 +00:00
Davis King 4b2ab507f7 improved spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404192
2011-03-23 23:43:56 +00:00
Davis King 1580a7a74b updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404191
2011-03-23 17:46:03 +00:00
Davis King 660be979fe updated spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404190
2011-03-23 17:40:22 +00:00
Davis King 75b0b774a7 Fixed grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404189
2011-03-23 16:13:25 +00:00
Davis King 01d8ff8d20 Added a structural SVM solver.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404188
2011-03-23 02:00:53 +00:00
Davis King 3db2ece675 Minor cleanup, I removed unnecessary code.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404187
2011-03-23 01:08:55 +00:00
Davis King 514e0f3853 Removed inappropriate uses of const on the be_verbose() functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404186
2011-03-23 00:39:39 +00:00
Davis King 926c2afa6f Added some more tests for the max_cost_assignment() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404185
2011-03-23 00:32:15 +00:00
Davis King 4f46a90104 Minor change to avoid a compiler warning in gcc.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404184
2011-03-23 00:24:39 +00:00
Davis King 0e25de9c10 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404183
2011-03-22 02:42:28 +00:00
Davis King b9a1e0c93a Added the multiclass_linear_decision_function object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404182
2011-03-22 02:38:46 +00:00
Davis King 1e7659dc64 It occurred to me that in some cases it is very easy to end up with dense vectors
which are slightly smaller than their corresponding sparse vectors.  So I changed
the requires clause of the dot(sparse,dense) and dot(dense,sparse) functions to not
require that the dense vector's size > sparse vector's size.  Now any combination
of sizes is legal.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404181
2011-03-22 00:56:08 +00:00
Davis King 790f442b7d updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404180
2011-03-20 18:37:07 +00:00
Davis King bf43a30c23 Renamed assign_dense_to_sparse() to assign() and made it capable of also
assigning from sparse to sparse.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404179
2011-03-20 18:36:53 +00:00
Davis King f1d98591a8 Clarified spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404178
2011-03-20 18:12:48 +00:00
Davis King 02ec16db94 Added a dot() function which can dot a sparse vector with a dense vector.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404177
2011-03-20 14:13:32 +00:00
Davis King 57aed828d4 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404176
2011-03-18 18:43:10 +00:00
Davis King aed73cd057 This change is mainly about adding a result_type typedef to the various function objects.
Prior to this change, different function objects declared their return type in different ways,
now this has all been reconciled.  Now they all declare it as a public typedef named result_type.

I also simplified the cross_validate_multiclass_trainer(), cross_validate_trainer(),
test_binary_decision_function(), and test_multiclass_decision_function().  They now always
return double matrices regardless of any other consideration.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404175
2011-03-18 18:42:53 +00:00
Davis King 7e934b9de1 Added some tests for the LIBSVM formatted data IO functions
and related routines.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404174
2011-03-18 14:35:35 +00:00
Davis King 4427c91ab4 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404173
2011-03-18 13:42:31 +00:00
Davis King a6b8cc9b7f Added the fix_nonzero_indexing() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404172
2011-03-18 13:31:52 +00:00
Davis King ae79b13a07 made test more robust
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404171
2011-03-16 23:42:57 +00:00