[mlpack-git] [mlpack/mlpack] Spill trees (#747)
Ryan Curtin
notifications at github.com
Sun Aug 14 16:52:23 EDT 2016
> + BOOST_REQUIRE(h1.Left(b1));
> + BOOST_REQUIRE(!h1.Right(b1));
> +
> + b1.Center() = arma::vec("1 1");
> + b1.Radius() = 1.41;
> + BOOST_REQUIRE(h1.Right(b1));
> + BOOST_REQUIRE(!h1.Left(b1));
> +
> + b1.Center() = arma::vec("0 0");
> + b1.Radius() = 1.41;
> + BOOST_REQUIRE(!h1.Right(b1));
> + BOOST_REQUIRE(!h1.Left(b1));
> +
> + // AxisParallel hyperplane.
> + AxisParallelProjVector projVect2(1);
> + AxisOrthogonalHyperplane<EuclideanDistance> h2(projVect2, 1);
Maybe we should split this into two separate tests.
--
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#r74708236
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160814/22d127b6/attachment-0001.html>
More information about the mlpack-git
mailing list