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

MarcosPividori notifications at github.com
Tue Aug 16 19:33:40 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);

I agree. Done in: https://github.com/mlpack/mlpack/pull/747/commits/207c1d428e3ca1028144369b98d15e5c7cb9abd4

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


More information about the mlpack-git mailing list