|
| TEST_CASE_METHOD (PCATestFixture, "PCADimensionTest", "[PCAMainTest][BindingTests]") |
| Make sure that if we ask for a dataset in 3 dimensions back, we get it.
|
|
| TEST_CASE_METHOD (PCATestFixture, "PCAVarRetainTest", "[PCAMainTest][BindingTests]") |
| Ensure that if we retain all variance, we get back a matrix with the same dimensionality.
|
|
| TEST_CASE_METHOD (PCATestFixture, "PCANoVarRetainTest", "[PCAMainTest][BindingTests]") |
| Ensure that if we retain no variance, we get back no dimensions.
|
|
| TEST_CASE_METHOD (PCATestFixture, "PCATooHighNewDimensionalityTest", "[PCAMainTest][BindingTests]") |
| Check that we can't specify an invalid new dimensionality.
|
|
- Author
- Ryan Curtin
Test mlpackMain() of pca_main.cpp.
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.