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

Classes

struct  LCCTestFixture
 

Macros

#define BINDING_TYPE   BINDING_TYPE_TEST
 

Functions

 TEST_CASE_METHOD (LCCTestFixture, "LCCDimensionsTest", "[LCCMainTest][BindingTests]")
 Ensure that the dimensions of encoded test points and output dictionary are correct.
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCOutputModelTest", "[LCCMainTest][BindingTests]")
 Ensure that trained model can be reused.
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCInitDictTrainTest", "[LCCMainTest][BindingTests]")
 Ensure that the number of rows in initial dictionary is same as the dimension of the points.
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCInitDictAtomTest", "[LCCMainTest][BindingTests]")
 Ensure that the number of columns in initial dictionary is same as the number of atoms.
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCTrainAndTestDataDimTest", "[LCCMainTest][BindingTests]")
 Ensure that training data and test data points have same dimensionality.
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCTrainAndInputModelTest", "[LCCMainTest][BindingTests]")
 Ensure that only one out of training and input_model are specified.
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCTrainedModelDimTest", "[LCCMainTest][BindingTests]")
 Ensure that dimensionality of the trained model matches the dimensionality of the test points.
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCAtomsBoundTest", "[LCCMainTest][BindingTests]")
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCNegativeLambdaTest", "[LCCMainTest][BindingTests]")
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCNegativeToleranceTest", "[LCCMainTest][BindingTests]")
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCNormalizationTest", "[LCCMainTest][BindingTests]")
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCMaxIterTest", "[LCCMainTest][BindingTests]")
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCToleranceTest", "[LCCMainTest][BindingTests]")
 
 TEST_CASE_METHOD (LCCTestFixture, "LCCLambdaTest", "[LCCMainTest][BindingTests]")
 

Detailed Description

Author
Bhavya Bahl

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