mlpack 3.4.2
Namespaces | Functions
score.hpp File Reference
Include dependency graph for score.hpp:

Go to the source code of this file.

Namespaces

namespace  mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
namespace  mlpack::ann
 Artificial Neural Network.
 
namespace  mlpack::ann::augmented
 
namespace  mlpack::ann::augmented::scorers
 

Functions

template<typename MatType >
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 model's answer against ground truth answer. More...
 

Detailed Description

Author
Konstantin Sidorov

Definition of scoring functions for sequence prediction problems.

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.

Definition in file score.hpp.