[mlpack-git] [mlpack/mlpack] Spill trees (#747)
notifications at github.com
Wed Aug 17 15:09:13 EDT 2016
> @@ -375,6 +375,9 @@ inline double NeighborSearchRules<SortPolicy, MetricType, TreeType>::Rescore(
> if (oldScore == DBL_MAX)
> return oldScore;
> + if (oldScore == SortPolicy::BestDistance())
> + return oldScore;
Yes, I completely agree. I added this modification to avoid calculating the bounds as there is no possibility of prunning when score is `0`. I agree that it would be possible to prune when score is 0, but we can't because of `B_2()`.
Updated the code in : https://github.com/mlpack/mlpack/pull/747/commits/e4cf1fd252b710809654515dccc30a299d0380e2
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git