Commit Graph

1490 Commits

Author SHA1 Message Date
Davis King c1443d4d1e Added some tests to make sure that both the ekm and lisf objects
measure projection error the same way.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403683
2010-06-08 02:35:43 +00:00
Davis King 3e9a0d426f Fixed incorrect requirements in the kcentroid constructor. They were a
little too weak.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403682
2010-06-08 02:14:57 +00:00
Davis King b85b965811 Added a missing requirement that the max dictionary size must be greater than 1.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403681
2010-06-08 02:11:07 +00:00
Davis King 1650d8e95c Simplified the code for reduced() and reduced2() by making them use the
kernel_matrix() and fill_lisf() funcions instead of the many for loops
they previously had.  In particular, using fill_lisf() makes the reducers
generally a lot faster and a little more accurate.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403680
2010-06-08 00:58:30 +00:00
Davis King 7ef8e93bca Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403679
2010-06-07 01:36:55 +00:00
Davis King 51f8777e69 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403678
2010-06-07 01:13:26 +00:00
Davis King 0d148fea23 Updated this example to use the new fill_lisf() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403677
2010-06-07 01:02:11 +00:00
Davis King 686c547365 Added the fill_lisf() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403676
2010-06-07 01:00:59 +00:00
Davis King a5afa68ff9 Added a function to compute projection error into the linearly_independent_subset_finder.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403675
2010-06-06 20:37:27 +00:00
Davis King cf04ff5f19 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403674
2010-06-05 12:20:13 +00:00
Davis King eb1074c424 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403673
2010-06-05 12:18:14 +00:00
Davis King 8dad77dd4f Made the svm_c_ekm_trainer print out the projection error for the margin violators
when in verbose mode.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403672
2010-06-04 01:26:03 +00:00
Davis King fd93200030 Removed some cruft.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403671
2010-06-04 00:10:12 +00:00
Davis King 298cdd1e92 Fixed a bug in the timer_kernel_2 object. In certain rare cases it would stop
calling the action function and essentially shut down without being told to do
so.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403670
2010-06-03 23:58:25 +00:00
Davis King c3932281be Added the ability to tell a threaded_object that it should restart its thread
upon thread termination.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403669
2010-06-03 23:55:57 +00:00
Davis King 24b33ef210 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403668
2010-06-03 03:17:06 +00:00
Davis King 97f311bc10 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403667
2010-06-03 03:15:27 +00:00
Davis King 195a07aa2b Improved spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403666
2010-06-03 03:15:11 +00:00
Davis King 34e5ce7fde updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403665
2010-06-02 23:28:55 +00:00
Davis King a929b06633 Added a function to set the minimum tolerance after the object has been constructed.
Also made the spec more clear.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403664
2010-06-02 23:28:34 +00:00
Davis King 78e4869542 Removed this old todo file since I don't use it anymore.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403663
2010-05-30 20:13:44 +00:00
Davis King bb1a926a24 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403662
2010-05-30 20:12:18 +00:00
Davis King 90c29847e2 updated tests
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403661
2010-05-30 19:45:21 +00:00
Davis King c543a025ba Changed the code to normalize the regularizer by the sum of edge weights
instead of the straight sum of edges.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403660
2010-05-30 19:44:03 +00:00
Davis King b46186fc21 updated spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403659
2010-05-30 19:42:57 +00:00
Davis King 24fcd5c595 Made the sample_pair have a default distance of infinity instead of
the max floating point value.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403658
2010-05-30 19:42:38 +00:00
Davis King 260c893c7f Added these new functions: remove_long_edges(), remove_percent_longest_edges(),
remove_short_edges(), and remove_percent_shortest_edges().   I also reworked
the graph creation functions to make them a little more versatile.  Now
you can use infinite distances to indicate that certain nodes are not
connected at all.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403657
2010-05-30 19:42:06 +00:00
Davis King ccbdf520b7 Added the ability to threshold out length's outside a certain range into
the squared_euclidean_distance object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403656
2010-05-30 19:22:38 +00:00
Davis King 8cf7fad6cc Changed code to avoid warning about an uninitialized variable.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403655
2010-05-29 16:14:23 +00:00
Davis King 41a0bf7b20 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403654
2010-05-29 14:50:20 +00:00
Davis King 979f8bf5db Added the find_approximate_k_nearest_neighbors() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403653
2010-05-29 14:28:45 +00:00
Davis King 1cd2e5e9e1 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403652
2010-05-28 18:50:13 +00:00
Davis King bf8b3e5424 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403651
2010-05-28 17:19:05 +00:00
Davis King 79ba5ad79c Added some tests for the new simplify_linear_decision_function() routines.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403650
2010-05-28 16:52:12 +00:00
Davis King e947a0a24b Added the simplify_linear_decision_function() routines.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403649
2010-05-28 16:32:13 +00:00
Davis King ebf4de2b12 Added more overloads of randomly_subsample() that can operate on random_subset_selector
objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403648
2010-05-28 14:44:28 +00:00
Davis King db2f60b94b Changed the cross_validate_trainer_threaded() function so that it is a little bit
more memory efficient.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403647
2010-05-28 14:34:06 +00:00
Davis King 1f50817049 Made docs more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403646
2010-05-28 13:36:26 +00:00
Davis King fda7565430 Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403645
2010-05-28 13:34:34 +00:00
Davis King 96a2a7b90a Minor change to avoid a compile time error in gcc-3.3
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403644
2010-05-23 01:58:32 +00:00
Davis King 720fb2fc77 Fixed spelling
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403643
2010-05-20 01:22:16 +00:00
Davis King 4eaf39947d Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403639
2010-05-17 00:56:29 +00:00
Davis King 38db1fcb2a Changed code to avoid triggering one of visual studio's bug checking hooks (when there isn't a bug).
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403638
2010-05-16 22:08:03 +00:00
Davis King 5e98f184ed updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403637
2010-05-16 20:03:36 +00:00
Davis King 3d5591723d Added a test for the linear_manifold_regularizer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403636
2010-05-16 20:00:53 +00:00
Davis King 0d775acbe6 Added some comments
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403635
2010-05-16 19:11:48 +00:00
Davis King 9b51f8dc00 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403634
2010-05-16 18:54:18 +00:00
Davis King abd3a9e2c4 Made spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403633
2010-05-16 18:54:02 +00:00
Davis King 0c2cb034a3 Added all missing asserts for the manifold_regularization code. Also
removed unnecessary requirement that distances be non-negative for the
graph creation tools.  All that really matters is that edge weights
are non-negative.  A user can use that distance float for whatever they
want as long as the above remains true.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403632
2010-05-16 18:15:21 +00:00
Davis King 812057913e Improved example a little.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403631
2010-05-16 17:54:19 +00:00