Commit Graph

1270 Commits

Author SHA1 Message Date
Davis King 6eb0573148 Added a quadratic solver.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403454
2010-02-13 21:28:34 +00:00
Davis King ec217d6f40 Updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403453
2010-02-13 02:20:40 +00:00
Davis King ef5456ae81 Added rough version of a suggested reading page.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403452
2010-02-13 01:16:54 +00:00
Davis King fdf017720a Made the get_id() function public and renamed it to get_type_id(). I also
added a comment explaining the serialization format of type_safe_union objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403451
2010-02-11 19:30:31 +00:00
Davis King a2798bc81c Increased the number of template arguments of the type_safe_union from 10 to 20.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403450
2010-02-11 14:44:41 +00:00
Davis King 35a9f27908 Fixed spelling error in comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403449
2010-02-10 22:08:15 +00:00
Davis King 9a56aafcee updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403448
2010-02-06 00:09:07 +00:00
Davis King eb1426d242 Created a new release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403441
2010-02-05 21:41:31 +00:00
Davis King 727059de5a Removed spurious newline
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403440
2010-02-05 21:13:12 +00:00
Davis King 222f2eae9a Added missing mutex unlock statement.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403439
2010-02-05 21:10:58 +00:00
Davis King bedbe521fb Changed the scripts so that they include the date in the README.txt as well
as generate a dlib/revision.h file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403438
2010-02-05 20:51:34 +00:00
Davis King 70a0a2994d Fixed minor bug in htmlhelp stylesheet.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403437
2010-02-05 20:11:23 +00:00
Davis King b3dda2df48 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403436
2010-02-05 01:51:45 +00:00
Davis King 7989ea3afc updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403435
2010-02-05 01:44:15 +00:00
Davis King 2c97b411fe Removed some unneeded mutable qualifiers.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403434
2010-02-05 00:07:00 +00:00
Davis King 031e5af3db Fixed compiler warnings in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403433
2010-02-04 02:54:09 +00:00
Davis King 8557e674bd Added the const_ret_type typedef to the matrix_exp. It is now required that all
matrix expressions define this type.  This enables the expressions to return elements
by constant reference when appropriate rather than always returning by value.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403432
2010-02-04 01:59:00 +00:00
Davis King fc8807a744 Added constructors that take const char* so that you don't have to explicitly
convert literal strings to files or directories.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403431
2010-02-02 01:15:30 +00:00
Davis King df82747ef4 Changed the way we guard against length zero descriptor vectors slightly.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403430
2010-02-01 22:10:58 +00:00
Davis King eb9e8675a7 Made the compute_mean_squared_distance() function capable of operating on
containers other than std::vector.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403429
2010-02-01 00:48:48 +00:00
Davis King 780f16d174 Added a missing check for division by zero. This makes the inv() and det() functions
act in a more appropriate way in the face of matrices that are within rounding error
of being singular.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403428
2010-02-01 00:46:16 +00:00
Davis King 31662ca6d0 I just made the way the template is declared for the pick_initial_centers()
function a little more flexible.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403427
2010-01-31 18:55:25 +00:00
Davis King c49e76ad2e Changed the load() function's signature so that it works with
any type at all so long as it is convertible to a matrix via vector_to_matrix().

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403426
2010-01-30 16:06:02 +00:00
Davis King 125f6eb8a4 Added a few more tests to this for good measure
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403425
2010-01-30 16:04:50 +00:00
Davis King aa74346ef0 Added some missing DLIB_ASSERTs to the random_subset_selector. I also gave it
an empty add() and a next_add_accepts() so that the user doesn't have to load
data samples that wouldn't get selected for inclusion in the random subset.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403424
2010-01-30 15:27:14 +00:00
Davis King ba1d50cc9a Changed code to avoid warnings from visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403423
2010-01-29 22:00:36 +00:00
Davis King 4a2b796bae Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403422
2010-01-29 01:53:03 +00:00
Davis King d774526a1b updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403421
2010-01-29 00:32:28 +00:00
Davis King 5c5bc58026 Added some comments and cleaned up code slightly.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403420
2010-01-29 00:31:39 +00:00
Davis King 0350895dc7 Added the compute_mean_squared_distance() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403419
2010-01-29 00:30:30 +00:00
Davis King 35377a88e3 Clarified proper use of maximum_nu().
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403418
2010-01-28 23:37:21 +00:00
Davis King 10be95f425 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403417
2010-01-28 23:22:33 +00:00
Davis King 8bc2fa1956 Clarified the spec for the distance_function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403416
2010-01-28 23:20:12 +00:00
Davis King cebf6bd144 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403415
2010-01-28 02:06:05 +00:00
Davis King 198e5e22bc Changed include to make docs nicer.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403414
2010-01-28 02:04:04 +00:00
Davis King 6cad6741f6 Added the random_subset_selector object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403413
2010-01-28 01:59:38 +00:00
Davis King c88d8b1262 Fixed incorrect comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403412
2010-01-28 01:01:41 +00:00
Davis King 69300dceec Added a stddev() function to the running_stats object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403411
2010-01-26 03:18:52 +00:00
Davis King 61ee064069 Updated svn:ignore list
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403410
2010-01-24 23:50:53 +00:00
Davis King e8f1f25dff Clarified spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403409
2010-01-24 16:45:49 +00:00
Davis King 22b57240b9 Added some comments that document how the tolerance parameters relate to
projection error as given by the empirical_kernel_map.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403408
2010-01-24 16:36:01 +00:00
Davis King 2b0ae8ad7b Changed the projection_error to be squared distance rather than just
straight euclidean distance.  I did this because the kcentroid,
linearly_independent_subset_finder, and krls object's tolerance
parameter is also a measure of squared projection distance and
it is nice if all of these things are the same.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403407
2010-01-23 23:21:57 +00:00
Davis King 89d09da15d updated link to be dlib.net
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403406
2010-01-23 00:20:06 +00:00
Davis King 93b2af7f6e Updated link to point to dlib.net
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403405
2010-01-23 00:18:25 +00:00
Davis King fbea6a594f This looks like a huge change but all I did was change the email address
at the top of each file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403404
2010-01-22 22:11:41 +00:00
Davis King bec995b8fd Added a few more types to the stack_based_memory_block to make extra sure it
is always aligned properly.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403403
2010-01-22 21:50:12 +00:00
Davis King 7cbdf2026e Added some links to the cmd_line_parser_option.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403402
2010-01-22 21:43:39 +00:00
Davis King feea8b19ae I just fixed some spelling errors in a few comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403401
2010-01-22 03:28:44 +00:00
Davis King dcb82b9648 Added the ability to compute projection error to the empirical_kernel_map.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403400
2010-01-22 03:26:54 +00:00
Davis King c3d407eec3 Fixed typo in spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403399
2010-01-19 22:16:24 +00:00