mlpack
Classes | Macros | Functions
fastmks_test.cpp File Reference
#include <string>
#include <mlpack/core.hpp>
#include <mlpack/core/util/mlpack_main.hpp>
#include "test_helper.hpp"
#include <mlpack/methods/fastmks/fastmks_main.cpp>
#include "../catch.hpp"
#include "../test_catch_tools.hpp"
Include dependency graph for fastmks_test.cpp:

Classes

struct  FastMKSTestFixture
 

Macros

#define BINDING_TYPE   BINDING_TYPE_TEST
 

Functions

 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSEqualDimensionTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSInvalidKTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSZeroKTest", "[FastMKSMainTest][BindingTests]")
 Check that when k is specified, it must be greater than 0.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSInvalidKQueryDataTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSRefModelTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSInvalidKernelTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSOutputDimensionTest", "[FastMKSMainTest][BindingTests]")
 Make sure that dimensions of the indices and kernel matrices are correct given a value of k.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSModelReuseTest", "[FastMKSMainTest][BindingTests]")
 Ensure that saved model can be used again.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSQueryRefTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSNaiveModeTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSTreeTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSBasisTest", "[FastMKSMainTest][BindingTests]")
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSBaseTest", "[FastMKSMainTest][BindingTests]")
 Check that we can't specify base less than 1.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSKernelTest", "[FastMKSMainTest][BindingTests]")
 Ensure that different kernels returns different results.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSOffsetTest", "[FastMKSMainTest][BindingTests]")
 Ensure that offset affects the final result of polynomial and hyptan kernel.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSDegreeTest", "[FastMKSMainTest][BindingTests]")
 Ensure that degree affects the final result of polynomial kernel.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSScaleTest", "[FastMKSMainTest][BindingTests]")
 Ensure that scale affects the final result of hyptan kernel.
 
 TEST_CASE_METHOD (FastMKSTestFixture, "FastMKSBandwidthTest", "[FastMKSMainTest][BindingTests]")
 Ensure that bandwidth affects the final result of Gaussian, Epanechnikov, and triangular kernel.
 

Detailed Description

Author
Yashwant Singh
Prabhat Sharma

Test mlpackMain() of fastmks_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.