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

MarcosPividori notifications at github.com
Tue Aug 16 19:26:02 EDT 2016


> + *
> + * Errors are produced if the results are not according to relative error.
> + */
> +BOOST_AUTO_TEST_CASE(SingleSpillTreeTest)
> +{
> +  arma::mat dataset;
> +  dataset.randu(50, 300); // 50 dimensional, 300 points.
> +
> +  const size_t k = 3;
> +
> +  KNN exact(dataset);
> +  arma::Mat<size_t> neighborsExact;
> +  arma::mat distancesExact;
> +  exact.Search(dataset, k, neighborsExact, distancesExact);
> +
> +  double max_dist = 0;

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

-- 
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#r75039490
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160816/ebbe31ff/attachment-0001.html>


More information about the mlpack-git mailing list