mlpack
3.4.2
mlpack-3.4.2
src
mlpack
methods
ann
augmented
tasks
score.hpp
Go to the documentation of this file.
1
13
#ifndef MLPACK_METHODS_AUGMENTED_TASKS_SCORE_HPP
14
#define MLPACK_METHODS_AUGMENTED_TASKS_SCORE_HPP
15
16
#include <
mlpack/prereqs.hpp
>
17
18
namespace
mlpack
{
19
namespace
ann
/* Artificial Neural Network */
{
20
namespace
augmented
/* Augmented neural network */
{
21
namespace
scorers
/* Scoring utilities for augmented */
{
22
33
template
<
typename
MatType>
34
double
SequencePrecision
(arma::field<MatType> trueOutputs,
35
arma::field<MatType> predOutputs,
36
double
tol = 1e-4);
37
38
}
// namespace scorers
39
}
// namespace augmented
40
}
// namespace ann
41
}
// namespace mlpack
42
43
#include "score_impl.hpp"
44
45
#endif
prereqs.hpp
The core includes that mlpack expects; standard C++ includes and Armadillo.
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
add_to_cli11.hpp:21
mlpack::ann::augmented::scorers::SequencePrecision
double SequencePrecision(arma::field< MatType > trueOutputs, arma::field< MatType > predOutputs, double tol=1e-4)
Function that computes the sequences precision (number of correct sequences / number of sequences) of...
Generated by
1.8.20