mlpack
Functions
termination_policy_test.cpp File Reference
#include <mlpack/core.hpp>
#include <mlpack/methods/amf/amf.hpp>
#include <mlpack/methods/amf/termination_policies/max_iteration_termination.hpp>
#include <mlpack/methods/amf/update_rules/nmf_mult_div.hpp>
#include "catch.hpp"
Include dependency graph for termination_policy_test.cpp:

Functions

 TEST_CASE ("MaxIterationTerminationTest", "[TerminationPolicyTest]")
 Simple test – make sure termination happens after the right number of iterations.
 
 TEST_CASE ("AMFMaxIterationTerminationTest", "[TerminationPolicyTest]")
 Make sure that AMF properly terminates.
 

Detailed Description

Author
Ryan Curtin

Tests for AMF termination policies.

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.