mlpack
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
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
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...
Definition: score_impl.hpp:24
The core includes that mlpack expects; standard C++ includes and Armadillo.