Ryan Curtin
0d106c9efd
Doxygen fix so that local paths aren't included in the built documentation.
2014-04-07 14:20:21 +00:00
Ryan Curtin
dde19f38a6
Use const reference parameter so it works with temporaries too.
2014-03-31 15:19:23 +00:00
Ryan Curtin
93beaa816f
Whatever bug used to be here before isn't here now.
2014-03-31 13:51:10 +00:00
Ryan Curtin
e1fdb81761
Add new contributor.
2014-03-28 16:59:47 +00:00
Ryan Curtin
4e1d178dc7
Annotate changes to LRSDP.
2014-03-28 15:53:35 +00:00
Ryan Curtin
57b9be5f35
Better ToString() output.
2014-03-28 15:53:27 +00:00
Ryan Curtin
cc8bfb95dd
Refactor LRSDP into the main class and a separate function (LRSDPFunction).
...
This is a patch from Abhishek Laddha for #318 .
2014-03-28 15:38:26 +00:00
Ryan Curtin
0618cdd415
Fix minor error that I didn't correct last time.
2014-03-25 14:09:10 +00:00
Ryan Curtin
bd1ff33580
Don't use the squared Euclidean distance.
2014-03-25 14:03:12 +00:00
Ryan Curtin
b272f363c3
Don't use the SquaredEuclideanDistance.
2014-03-25 14:02:42 +00:00
Ryan Curtin
23fc3acb6b
Make parameter const because const-correctness is a good thing.
2014-03-25 12:47:57 +00:00
Ryan Curtin
ad4ae0afe1
Add new contributor.
2014-03-24 20:31:58 +00:00
Yash Vadalia
a2feea8ccd
Incorporate patch from yashdv to move splitting procedure to a different class.
2014-03-24 18:52:43 +00:00
Ryan Curtin
7973e83f94
Update documentation to reflect changes in RangeSearch.
2014-03-13 15:07:38 +00:00
birm
dba130cdb3
Fixed arma_traits by removing duplicate template instantiation, so that visual studio would be able to use it too.
2014-03-12 03:51:08 +00:00
Ryan Curtin
bc49c7f967
Through the magic of regular expressions, I've refactored this test to use
...
kd-trees with one-point leaves.
2014-03-11 18:53:34 +00:00
Ryan Curtin
4539ee95d5
Oops, use single-tree for the second iteration.
2014-03-11 18:43:15 +00:00
Ryan Curtin
a3cb786fe9
Make the ExhaustiveSyntheticTest use kd-trees with a leafSize of 1. This
...
changeset brought to you by the magic of regular expressions, which mostly
worked...
2014-03-11 16:39:00 +00:00
Ryan Curtin
d095f52188
Fix to go with patch from Saheb... forgot to check this in earlier.
2014-03-11 15:42:28 +00:00
Ryan Curtin
b8747ec7df
Modified patch from Saheb for #301 ; this unifies the constructors for
...
NeighborSearch so they work with all tree types. The modifications I've made
make it so that the referenceCopy and queryCopy matrices aren't full copies of
the referenceSet and querySet matrices when the tree doesn't modify them (in the
case where they aren't modified, it's not necessary to copy them, that's just a
waste of memory).
2014-03-10 21:15:41 +00:00
Ryan Curtin
1c88d1e896
What was I thinking? This is a _far_ better solution than r16359.
2014-03-10 12:20:38 +00:00
Ryan Curtin
aa321b0765
Better rule, which forces the score to 0 for AllkNN. Not sure if it'll work for AllkFN. Also, I think there may be a bug in the traversal info handling for the BinarySpaceTree DualTreeTraverser.
2014-03-10 11:51:37 +00:00
Ryan Curtin
cd286caca1
Remove incorrect comments.
2014-03-09 17:21:52 +00:00
Ryan Curtin
b49848a2b6
Ok, handle NaNs correctly, and also check this in in trunk, not in the tags...
2014-03-09 05:13:00 +00:00
Ryan Curtin
83ea01d4bb
Actually use the right parameter name.
2014-03-05 18:36:00 +00:00
Ryan Curtin
bb171e3ee2
Fix regression in r16308, which slowed down cover tree traversals by potentially
...
up to 50% (at least, that's the slowdown I saw...).
2014-03-03 13:47:31 +00:00
Ryan Curtin
efda5e0463
Patch from Siddharth: templatize CF to accept arbitrary types of factorizers.
2014-03-02 04:39:49 +00:00
Ryan Curtin
bf2ad9c99e
Remove numberOfPrunes variable, and initialize baseCase ( #336 ).
2014-03-01 19:38:10 +00:00
Ryan Curtin
a330d5f151
Initialize uninitialized variable ( #336 ).
2014-03-01 19:37:38 +00:00
Ryan Curtin
4421441c0e
The maxLeafSize parameter is unused (other than an assert) so remove it
...
entirely.
2014-03-01 19:37:19 +00:00
Ryan Curtin
48116d2412
Remove numPrunes -- it isn't used.
2014-03-01 19:04:41 +00:00
Ryan Curtin
1d8bfc6649
Remove using directive that has been there for six years. Sigh...
2014-02-28 01:48:03 +00:00
Ryan Curtin
fd7a16298b
Explicitly use namespace mlpack::neighbor.
2014-02-28 01:47:07 +00:00
Ryan Curtin
3784abf328
Some changes to LaTeX options in the Doxyfile.
2014-02-28 01:06:23 +00:00
Ryan Curtin
906b91f460
Update for changed CF API (patch from Siddharth).
2014-02-22 15:55:34 +00:00
Ryan Curtin
ce48c53adc
Patch from Siddharth: make the rank parameterizable, and merge the constructors
...
into one.
2014-02-22 15:55:19 +00:00
Ryan Curtin
ced91b1bec
Widen tolerances ... again.
2014-02-21 23:12:47 +00:00
Ryan Curtin
9b44fc4f7b
Fix mixup of rows and columns.
2014-02-21 23:11:54 +00:00
Ryan Curtin
8c5140b196
Rank is not yet a parameter, but this heuristic from Siddharth improves upon the
...
previous "rank = 2".
2014-02-20 16:34:54 +00:00
Ryan Curtin
29553593d3
Stop timers correctly when Log::Fatal is called (or when Load() or Save() return
...
early).
2014-02-20 14:53:07 +00:00
Ryan Curtin
47859c2b4e
No more implementation.
2014-02-20 03:08:31 +00:00
Ryan Curtin
b4bc237944
Refactor NeighborSearch so it works with arbitrary TreeType::Mat types. That
...
abstraction should probably be cleaned up a bit.
2014-02-20 00:34:21 +00:00
Ryan Curtin
3437ce4eb9
Templatize arguments for BestPointToNodeDistance().
2014-02-20 00:32:17 +00:00
Ryan Curtin
3e5a9f6f11
Clean up some namespacing, and add a test for sparse AllkNN using kd-trees.
...
Also add one for cover trees, although it does not work yet.
2014-02-20 00:31:40 +00:00
Ryan Curtin
9084dd6b04
Having an implementation for the example tree is kind of a dumb idea. Also make
...
sure CMake knows about example_tree.hpp so it keeps it up to date.
2014-02-20 00:29:38 +00:00
Ryan Curtin
965d9e2638
Refactor MinDistance(), MaxDistance(), and RangeDistance() to accept arbitrary
...
types of Armadillo vectors using IsVector<>.
2014-02-20 00:29:00 +00:00
Ryan Curtin
eb44a20b4b
Refactor MinDistance(), MaxDistance(), and RangeDistance() to accept any
...
Armadillo vector type.
2014-02-20 00:21:29 +00:00
Ryan Curtin
2498505e89
By default, include arma_traits.hpp.
2014-02-20 00:15:39 +00:00
Ryan Curtin
6322216a0f
Add some Armadillo traits for template metaprogramming. This abstraction may
...
change as time goes on.
2014-02-20 00:15:09 +00:00
Ryan Curtin
1f8b573a60
Patch from Saheb: do actual naive search for RangeSearch and NeighborSearch
...
instead of using the hack for BinarySpaceTree with leafSize = n_cols.
2014-02-19 22:34:29 +00:00