mlpack
|
#include <mlpack/core.hpp>
#include <mlpack/core/util/mlpack_main.hpp>
#include <mlpack/methods/preprocess/preprocess_imputer_main.cpp>
#include "test_helper.hpp"
#include "../test_catch_tools.hpp"
#include "../catch.hpp"
#include <cmath>
Classes | |
struct | PreprocessImputerTestFixture |
Macros | |
#define | BINDING_TYPE BINDING_TYPE_TEST |
Functions | |
TEST_CASE_METHOD (PreprocessImputerTestFixture, "PreprocessImputerDimensionTest", "[PreprocessImputerMainTest][BindingTests]") | |
Check that input and output have same dimensions except for listwise_deletion strategy. | |
TEST_CASE_METHOD (PreprocessImputerTestFixture, "PreprocessImputerListwiseDimensionTest", "[PreprocessImputerMainTest][BindingTests]") | |
Check that output has fewer points in case of listwise_deletion strategy. | |
TEST_CASE_METHOD (PreprocessImputerTestFixture, "PreprocessImputerStrategyTest", "[PreprocessImputerMainTest][BindingTests]") | |
Check that invalid strategy can't be specified. | |
Test mlpackMain() of preprocess_imputer_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.