|
mlpack
|
#include <mlpack/core.hpp>#include <mlpack/methods/approx_kfn/qdafn.hpp>#include <mlpack/methods/neighbor_search/neighbor_search.hpp>#include "catch.hpp"#include "serialization.hpp"
Functions | |
| TEST_CASE ("QDAFNTrivialTest", "[QDAFNTest]") | |
| With one reference point, make sure that is the one that is returned. | |
| TEST_CASE ("QDAFNUniformSet", "[QDAFNTest]") | |
| Given a random uniform reference set, ensure that we get a neighbor and distance within 10% of the actual true furthest neighbor distance at least 70% of the time. | |
| TEST_CASE ("QDAFNMultipleNeighbors", "[QDAFNTest]") | |
| Make sure that more than one valid neighbor is returned when k > 1. | |
| TEST_CASE ("RetrainTest", "[QDAFNTest]") | |
| Test re-training method. | |
| TEST_CASE ("QDAFNSerializationTest", "[QDAFNTest]") | |
| Test serialization of QDAFN. | |
| TEST_CASE ("QDAFNSparseTest", "[QDAFNTest]") | |
Test the QDAFN functionality.
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.
1.8.13