Commit Graph
10911 Commits
Author SHA1 Message Date
Ryan Curtin 6f308e1ca0 Change tests to respect new SparseCoding template parameters. 2012-06-11 20:10:33 +00:00
Ryan Curtin ef1abf596d Refactor SparseCoding to initialize the dictionary as a template parameter. 2012-06-11 20:10:20 +00:00
Ryan Curtin cb4e932e3b Clean up comments for no good reason. 2012-06-11 19:23:47 +00:00
Ryan Curtin e78c2f56c4 Stop timer for early exit. 2012-06-11 19:09:07 +00:00
Ryan Curtin 2d6e0a71a4 Clean up documentation slightly. 2012-06-11 19:04:00 +00:00
Ryan Curtin f6c77ece51 Add some timers for loading and saving operations. 2012-06-11 19:01:45 +00:00
Ryan Curtin d9cbadfe77 CLI::GetParam<bool> seems to crash, and, add a timer. 2012-06-11 18:59:42 +00:00
Ryan Curtin 0d0b7f8d92 This check changes because we're loading X and not transposing. 2012-06-11 18:40:29 +00:00
Ryan Curtin c9f5c1b693 Clean up LARS executable. 2012-06-11 18:36:49 +00:00
Ryan Curtin bbee092079 Tests for new options to data::Load() and data::Save(). 2012-06-11 17:36:04 +00:00
Ryan Curtin 77e3ae29c9 Add option allowing user to specify if they want the data transposed on input;
this is useful for LARS.
2012-06-11 17:35:52 +00:00
Ryan Curtin ae14cc3d8d Changes to main executable in accordance with the modified API. 2012-06-11 02:00:50 +00:00
Ryan Curtin fd87cc268c Apparent typo in the test cases meant one combination was not being tested. 2012-06-10 21:37:34 +00:00
Ryan Curtin f120616b96 DoLARS() -> Regress(). 2012-06-10 21:35:24 +00:00
Ryan Curtin 3902732c08 DoLARS() -> Regress(). 2012-06-10 21:35:09 +00:00
Ryan Curtin daf29e3bf3 Change DoLARS() to more descriptive and less awkward Regress(). Minor code
cleanups, and turn comments into full sentences (grammar Nazi mode activated).
2012-06-10 21:34:55 +00:00
Ryan Curtin 067f8b24e7 Changes to DoLARS() propagating to here. 2012-06-09 21:57:34 +00:00
Ryan Curtin 8f1081f7b3 Changes to DoLARS() propagating to here. 2012-06-09 21:57:21 +00:00
Ryan Curtin 2b58eb3752 More refactoring; remove nActive because it isn't necessary, and include
solution in the call to DoLARS().
2012-06-09 21:57:02 +00:00
Ryan Curtin 35072ccfbb Adapt for new LARS DoLARS() API. 2012-06-09 16:14:21 +00:00
Ryan Curtin 92b9129c9f Modify LARS API to accept non-transposed matrices. This is easier on the
user...
2012-06-09 16:13:09 +00:00
Ryan Curtin 73da62325a This was being passed in backwards. 2012-06-08 21:02:29 +00:00
Ryan Curtin aa83e428b8 Code cleanup; don't use namespace arma (since that's done nowhere else) and
clean and condense things a little bit.  Not a big overhaul -- but it's coming.
2012-06-08 17:20:05 +00:00
Ryan Curtin ba8e0b9f03 Some code cleanup. 2012-06-08 04:52:19 +00:00
Ryan Curtin 1fcedc48b5 A couple of files were not included. 2012-06-05 19:55:59 +00:00
Ryan Curtin b8a91161fb Finish refactoring for each kernel type. 2012-06-05 19:53:15 +00:00
Ryan Curtin 0e86a1e768 Update documentation slightly. 2012-06-05 19:53:01 +00:00
Ryan Curtin 58983960d6 I don't believe this is a valid kernel. 2012-06-05 19:44:47 +00:00
Ryan Curtin 77f6497a9a Test modified for new MaxIP API. 2012-06-05 19:37:52 +00:00
Ryan Curtin d381af5dbd Check in mess of MaxIP code which is being cleaned little by little... 2012-06-05 19:15:14 +00:00
Ryan Curtin 26362ce94b Rewrite triangular kernel with parameters. 2012-06-05 19:14:26 +00:00
Ryan Curtin af91b322b0 Fix top-of-file comments. 2012-06-05 18:56:25 +00:00
Ryan Curtin 659f1d6b9e Include new files. 2012-06-05 18:54:55 +00:00
Ryan Curtin c4e0963c3e Remove the no-offset kernel; it is not useful and was a hack for a deadline. 2012-06-05 18:54:39 +00:00
Ryan Curtin 494ac24f52 Best not to promise functionality we might never get around to. 2012-06-05 18:54:18 +00:00
Ryan Curtin 0f6727d90a Remove static Gaussian kernel hack. 2012-06-05 18:53:54 +00:00
Ryan Curtin 48e3f497ae Refactor and clean epanechnikov kernel. 2012-06-05 18:53:36 +00:00
Ryan Curtin f0f6871021 Clean up cover tree implementation a little bit. Allow instantiated metrics
(good for hyptan or gaussian kernels or any other kernels with parameters).
2012-06-04 23:10:37 +00:00
Bill March 573371b469 wrote EMST tutorial 2012-06-04 16:01:30 +00:00
Bill March 4e3740298b fixed line that referred to nearest neighbor search 2012-06-04 16:01:16 +00:00
Ryan Curtin 4e7c68c374 Add two more kernels. They need to be parameterized. 2012-06-02 05:09:30 +00:00
Ryan Curtin 6211a2c245 Parent distance is the interesting one to track, not furthest child distance.
Fix a few bugs so that furthest descendant distance is correct.
2012-05-28 21:21:06 +00:00
Ryan Curtin a5e73dcc71 No far set in root node. 2012-05-28 04:11:57 +00:00
Ryan Curtin 05a7fd57a8 No far set in root node. 2012-05-28 04:11:22 +00:00
Ryan Curtin 8dae279570 Fix a couple bugs in furthest child and descendant determination. 2012-05-27 22:36:29 +00:00
Ryan Curtin 89f21592c4 Store furthest child distance and furthest descendant distance. This can allow
better pruning rules.
2012-05-27 19:39:16 +00:00
Ryan Curtin 60e1694cc9 Relax the separation constraint to include equality (in accordance with the
paper).
2012-05-27 19:04:50 +00:00
Ryan Curtin 28499a50d0 Some slightly ugly additions -- but which give an order of magnitude speedup
during cover tree construction.  It turned out that when we were handing the
new near and far set to a child, we did not remove points with distance further
than the far set bound, meaning that the far sets were way larger than they
needed to be.  Preliminary results indicate fewer distance calculations during
tree-building than Langford's original implementation.
2012-05-27 06:13:51 +00:00
Ryan Curtin 0fb10c805d Rewrite swapping code. 2012-05-25 14:38:43 +00:00
Ryan Curtin 34102cb807 Halfway transitioned to newer implementation, which does not try so hard to
conserve memory.
2012-05-25 03:34:27 +00:00