mlpack 3.4.2
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
18namespace mlpack {
19namespace ann /* Artificial Neural Network */ {
20namespace augmented /* Augmented neural network */ {
21namespace scorers /* Scoring utilities for augmented */ {
22
33template<typename MatType>
34double 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
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...
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.