Commit Graph
14779 Commits
Author SHA1 Message Date
Ryan Curtin eea2aa43b9 Fix element access, and corner case where mod is 0. 2016-06-29 11:07:06 -04:00
Ryan Curtin e6bc4b4170 Fix error with casting negative numbers to size_t. 2016-06-28 18:58:22 -04:00
Ryan Curtin 8e740b02eb Fix name of parameter. 2016-06-28 17:06:55 -04:00
Ryan Curtin 6ffa3488be Change to size_t only, and add a warning for the mutator. 2016-06-28 16:46:38 -04:00
Ryan Curtin 081a60194c Merge pull request #709 from lozhnikov/recttree-fixes
Removed RectangleTree::Points()
2016-06-28 16:37:27 -04:00
Ryan Curtin cb2ea62695 Remove CopyMe(), just like the documentation says we should. 2016-06-28 16:22:33 -04:00
Ryan Curtin 6077f12093 Merge pull request #710 from lozhnikov/hilbert-r-tree-fixes
Hilbert R tree fixes
2016-06-28 16:21:07 -04:00
Mikhail Lozhnikov 6f19e4d651 Added the Hilbert R tree to (A)KNNTest, RangeSearchTest and KRANNTest. 2016-06-28 17:40:02 +03:00
Mikhail Lozhnikov d8c6ce46f8 Added the Hilbert R tree to RAModel 2016-06-28 17:39:29 +03:00
Mikhail Lozhnikov 8716e4ac73 Added the Hilbert R tree to RSModel 2016-06-28 17:38:53 +03:00
Mikhail Lozhnikov a46b834654 Added the Hilbert R tree to NSModel 2016-06-28 17:38:02 +03:00
Mikhail Lozhnikov 05fbd27221 Some Hilbert R tree fixes 2016-06-28 17:37:17 +03:00
Mikhail Lozhnikov 707efdc2a6 Removed RectangleTree::Points() 2016-06-28 00:38:37 +03:00
Ryan Curtin 9dd66c7312 Forgot to test before I pushed.
I did not get much sleep last night... not running on all cylinders...
2016-06-27 15:12:50 -04:00
Ryan Curtin 0caf99c923 Refactor tests a bit, and style fixes. 2016-06-27 15:02:48 -04:00
Ryan Curtin aa33a92a32 Fix style. 2016-06-27 14:44:16 -04:00
Ryan Curtin 479eca0c62 Merge pull request #664 from lozhnikov/hilbert-r-tree
Hilbert R tree
2016-06-27 11:33:12 -04:00
Mikhail Lozhnikov 245565d80c Merge remote-tracking branch 'upstream/master' into hilbert-r-tree
Fixed conflicts.
2016-06-23 23:09:35 +03:00
Mikhail Lozhnikov 64525dea5a Fixed comments.
Removed RecursiveHilbertValue.
Added a template parameter splitOrder.
2016-06-23 23:04:35 +03:00
sumedhghaisas 37fda23945 Merge pull request #684 from MarcosPividori/approx-knn
Approximate Neighbor Search for Dual tree algorithms.
2016-06-23 02:17:55 +05:30
MarcosPividori fd33fd5ca6 Move constructor to header, to avoid linking problems (MonoSearchVisitor is not a template class). 2016-06-22 15:09:07 -03:00
MarcosPividori 49822ef417 Improve log message. 2016-06-22 15:09:07 -03:00
MarcosPividori 7f4dfd005a Use absolute value when considering relative error. 2016-06-22 15:09:07 -03:00
MarcosPividori 7f68a278d9 Add epsilon for kfn (both epsilon and percentage). 2016-06-22 15:09:07 -03:00
MarcosPividori 74648fa7f1 Replace epsilon by percentage in kfn. 2016-06-22 15:09:07 -03:00
MarcosPividori 7a5f668579 Replace Naive by Dual Tree in approximate tests.
Also, Improve code details.
2016-06-22 15:09:07 -03:00
MarcosPividori af12e76655 Fix style in test comments. 2016-06-22 15:09:07 -03:00
MarcosPividori d4a0f71f12 Change file name for test tools. 2016-06-22 15:09:07 -03:00
MarcosPividori 44b90f2c25 Update some comments/info. 2016-06-22 15:09:07 -03:00
MarcosPividori 5b99eda786 Properly check relative error.
BOOST_REQUIRE_CLOSE_FRACTION(VAL, REF, ERR) requires:
  abs(VAL - REF) <= ERR * REF   &&   abs(VAL - REF) <= ERR * VAL

REQUIRE_RELATIVE_ERR(VAL, REF, ERR) only requires:
  abs(VAL - REF) <= ERR * REF
2016-06-22 15:09:07 -03:00
MarcosPividori c64bdba5ca Add tests for approximate Furthest Neighbor Search. 2016-06-22 15:09:07 -03:00
MarcosPividori 0f65abf878 Add tests for approximate Nearest Neighbor Search. 2016-06-22 15:09:07 -03:00
MarcosPividori 6db6de5983 Modify KNN/KFN to include Approximate Neighbor Search. 2016-06-22 15:09:07 -03:00
Ryan Curtin a9f5622c8a Minor style changes. 2016-06-21 17:31:13 -07:00
Ryan Curtin bee9567e5c Mark ComputeRecall() as static. 2016-06-21 17:27:32 -07:00
Ryan Curtin 4129a7c1d7 Merge pull request #690 from mentekid/lsh-computeRecall
Adds ComputeRecall function to LSHSearch for easier tuning
2016-06-21 20:01:45 -04:00
Ryan Curtin 2bd1227d0f Fix typo. I think being "cafeful" would mean that you go to lots of cafes, but probably Andrew meant "careful" here. 2016-06-21 09:59:47 -04:00
Ryan Curtin ebf0dfcf06 Update license information to note other licenses. 2016-06-20 09:25:18 -04:00
Ryan Curtin 20b4b2736c Update license information for Boost backported code. 2016-06-20 09:03:36 -04:00
Ryan Curtin efca3c46af Remove backported Armadillo code that we don't need. 2016-06-20 09:03:36 -04:00
Ryan Curtin 77834972a9 Update license information for backported Armadillo code.
Also remove backports that we no longer need.
2016-06-20 09:03:36 -04:00
Ryan Curtin afaef852b9 Don't do infinite iterations.
(Fix non-terminating test.)
2016-06-20 09:03:36 -04:00
Mikhail Lozhnikov f9127cea62 Fixed comments. Added some bibtex information for the Hilbert R tree. 2016-06-20 15:29:11 +03:00
sumedhghaisas 779556fed7 Merge pull request #693 from MarcosPividori/variants-for-ns-model
Modify NSModel to use boost variant.
2016-06-20 14:02:54 +05:30
Ryan Curtin a7e8d3bac6 Merge pull request #701 from keonkim/binarize
delete include omp statement
2016-06-19 12:41:45 -04:00
Keon Kim 4c28ae3ca9 delete include omp statement 2016-06-20 01:04:38 +09:00
Tham 2da9c5bac1 Merge pull request #666 from keonkim/binarize
Binarize Function + Test
2016-06-19 12:30:00 +08:00
Keon Kim 3f70a3d723 fix typo 2016-06-19 11:29:28 +09:00
Keon Kim b54902e75b write binarize docs 2016-06-18 17:16:25 +09:00
Keon Kim 251c110cae resolve conflict 2016-06-18 16:37:29 +09:00