[mlpack-git] [mlpack/mlpack] Spill trees (#747)

MarcosPividori notifications at github.com
Tue Aug 16 19:28:11 EDT 2016


> + * nodes, and backtracking in non-overlapping nodes) against the naive method.
> + * This uses only a random reference dataset.
> + */
> +BOOST_AUTO_TEST_CASE(HybridSpillSearchTest)
> +{
> +  arma::mat dataset;
> +  dataset.randu(50, 300); // 50 dimensional, 300 points.
> +
> +  const size_t k = 3;
> +
> +  KNN naive(dataset);
> +  arma::Mat<size_t> neighborsNaive;
> +  arma::mat distancesNaive;
> +  naive.Search(dataset, k, neighborsNaive, distancesNaive);
> +
> +  double max_dist = 0;

Done in: https://github.com/mlpack/mlpack/pull/747/commits/ac5f836691b619c679b23c9fe37eecc0c7b00038

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/747/files/fe090ee13c7cad79e2b7eb8b6690628ba3ead1ed#r75039714
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160816/7a669e82/attachment.html>


More information about the mlpack-git mailing list