|
| TEST_CASE_METHOD (MeanShiftTestFixture, "MeanShiftOutputDimensionTest", "[MeanShiftMainTest][BindingTests]") |
| Ensure that the output has 1 extra row for the labels and check the number of points for output remain the same.
|
|
| TEST_CASE_METHOD (MeanShiftTestFixture, "MeanShiftLabelOnlyOutputDimensionTest", "[MeanShiftMainTest][BindingTests]") |
| Ensure that if we ask for labels_only, output has 1 row and same number of columns for each point's label.
|
|
| TEST_CASE_METHOD (MeanShiftTestFixture, "MeanShiftInPlaceTest", "[MeanShiftMainTest][BindingTests]") |
| Ensure that the updated input file has 1 extra row for the labels and check the number of points remain the same if the –in_place flag is set.
|
|
| TEST_CASE_METHOD (MeanShiftTestFixture, "MeanShiftForceConvergenceTest", "[MeanShiftMainTest][BindingTests]") |
| Ensure that force_convergence is used by testing that the force_convergence flag makes a difference in the program.
|
|
| TEST_CASE_METHOD (MeanShiftTestFixture, "MeanShiftRadiusTest", "[MeanShiftMainTest][BindingTests]") |
| Ensure that radius is used by testing that the radius makes a difference in the program.
|
|
| TEST_CASE_METHOD (MeanShiftTestFixture, "MeanShiftMaxIterationsTest", "[MeanShiftMainTest][BindingTests]") |
| Ensure that max_iterations is used by testing that the max_iteration makes a difference in the program.
|
|
| TEST_CASE_METHOD (MeanShiftTestFixture, "MeanShiftInvalidMaxIterationsTest", "[MeanShiftMainTest][BindingTests]") |
| Ensure that we can't specify an invalid max number of iterations.
|
|
- Author
- Tan Jun An
Test mlpackMain() of mean_shift_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.