|
mlpack
|
Unit tests for the various metrics. More...
#include <mlpack/core.hpp>#include <mlpack/core/metrics/lmetric.hpp>#include "catch.hpp"#include <mlpack/core/metrics/iou_metric.hpp>#include <mlpack/core/metrics/non_maximal_supression.hpp>#include <mlpack/core/metrics/bleu.hpp>#include "test_catch_tools.hpp"
Functions | |
| TEST_CASE ("L1MetricTest", "[MetricTest]") | |
| Simple test for L-1 metric. | |
| TEST_CASE ("L2MetricTest", "[MetricTest]") | |
| Simple test for L-2 metric. | |
| TEST_CASE ("LINFMetricTest", "[MetricTest]") | |
| Simple test for L-Infinity metric. | |
| TEST_CASE ("IoUMetricTest", "[MetricTest]") | |
| Simple test for IoU metric. | |
| TEST_CASE ("NMSMetricTest", "[MetricTest]") | |
| TEST_CASE ("BLEUScoreTest", "[MetricTest]") | |
Unit tests for the various metrics.
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.
| TEST_CASE | ( | "BLEUScoreTest" | , |
| "" | [MetricTest] | ||
| ) |
We are not using smoothing function here.
We will use smoothing function here by setting smooth to true.
1.8.13