|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCADimensionTest", "[KernelPCAMainTest][BindingTests]") |
| Make sure that all valid kernels return correct output dimension.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCANoKernelTest", "[KernelPCAMainTest][BindingTests]") |
| Check that error is thrown when no kernel is specified.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCAInvalidKernelTest", "[KernelPCAMainTest][BindingTests]") |
| Check that error is thrown when an invalid kernel is specified.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCA0DimensionalityTest", "[KernelPCAMainTest][BindingTests]") |
| Ensure for zero dimensionality, we get a dataset with the same dimensionality as the input dataset.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCACenterTest", "[KernelPCAMainTest][BindingTests]") |
| Make sure that centering the dataset makes a difference.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCATooHighNewDimensionalityTest", "[KernelPCAMainTest][BindingTests]") |
| Check that we can't specify an invalid new dimensionality.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCANoInputTest", "[KernelPCAMainTest][BindingTests]") |
| Check that error is thrown when no input is specified.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCABadSamplingTest", "[KernelPCAMainTest][BindingTests]") |
| Check that error is thrown if invalid sampling scheme is specified.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCABandWidthTest", "[KernelPCAMainTest][BindingTests]") |
| Test that bandwidth effects the result for gaussian, epanechnikov and laplacian kernels.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCAOffsetTest", "[KernelPCAMainTest][BindingTests]") |
| Test that offset effects the result for polynomial and hyptan kernels.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCADegreeTest", "[KernelPCAMainTest][BindingTests]") |
| Test that degree effects the result for polynomial kernel.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCAKernelScaleTest", "[KernelPCAMainTest][BindingTests]") |
| Test that kernel scale effects the result for hyptan kernel.
|
|
| TEST_CASE_METHOD (KernelPCATestFixture, "KernelPCASamplingSchemeTest", "[KernelPCAMainTest][BindingTests]") |
| Test that using a sampling scheme with nystroem method makes a difference.
|
|
- Author
- Saksham Bansal
Test mlpackMain() of kernel_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.