mlpack
Functions
hyperplane_test.cpp File Reference

Tests for Hyperplane and ProjVector implementations. More...

#include <mlpack/core.hpp>
#include <mlpack/core/tree/space_split/hyperplane.hpp>
#include "catch.hpp"
Include dependency graph for hyperplane_test.cpp:

Functions

 TEST_CASE ("HyperplaneEmptyConstructor", "[HyperplaneTest]")
 Ensure that a hyperplane, by default, consider all points to the left.
 
 TEST_CASE ("ProjectionTest", "[HyperplaneTest]")
 Ensure that we get the correct hyperplane given the projection vector.
 
 TEST_CASE ("AxisOrthogonalProjectionTest", "[HyperplaneTest]")
 Ensure that we get the correct AxisOrthogonalHyperplane given the AxisParallelProjVector.
 

Detailed Description

Tests for Hyperplane and ProjVector implementations.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.