[mlpack-git] [mlpack/mlpack] Spill trees (#747)
Ryan Curtin
notifications at github.com
Sun Aug 14 16:51:18 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;
I know it is picky but we should name this `maxDist` not `max_dist` for consistency.
--
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#r74708219
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160814/5ea5cae9/attachment.html>
More information about the mlpack-git
mailing list