XMM - Probabilistic Models for Motion Recognition and Mapping

xmmHmmResults.hpp
Go to the documentation of this file.
1 /*
2  * xmmHmmResults.hpp
3  *
4  * Results of Hidden Markov Models for a single class
5  *
6  * Contact:
7  * - Jules Francoise <jules.francoise@ircam.fr>
8  *
9  * This code has been initially authored by Jules Francoise
10  * <http://julesfrancoise.com> during his PhD thesis, supervised by Frederic
11  * Bevilacqua <href="http://frederic-bevilacqua.net>, in the Sound Music
12  * Movement Interaction team <http://ismm.ircam.fr> of the
13  * STMS Lab - IRCAM, CNRS, UPMC (2011-2015).
14  *
15  * Copyright (C) 2015 UPMC, Ircam-Centre Pompidou.
16  *
17  * This File is part of XMM.
18  *
19  * XMM is free software: you can redistribute it and/or modify
20  * it under the terms of the GNU General Public License as published by
21  * the Free Software Foundation, either version 3 of the License, or
22  * (at your option) any later version.
23  *
24  * XMM is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with XMM. If not, see <http://www.gnu.org/licenses/>.
31  */
32 
33 #ifndef xmmHmmResults_hpp
34 #define xmmHmmResults_hpp
35 
36 #include "../../core/model/xmmModelResults.hpp"
37 
38 namespace xmm {
43 template <>
44 struct ClassResults<HMM> {
49 
54 
59  std::vector<float> output_values;
60 
66  std::vector<float> output_covariance;
67 
73  double progress;
74 
79 
84  double exit_ratio;
85 
89  unsigned int likeliest_state;
90 };
91 }
92 
93 #endif
std::vector< float > output_covariance
Predicted Output covariance associated with the generated parameter vector (only used in regression m...
Definition: xmmHmmResults.hpp:66
double exit_likelihood
Likelihood to exit the gesture on the next time step.
Definition: xmmHmmResults.hpp:78
double progress
Estimated time progression.
Definition: xmmHmmResults.hpp:73
double log_likelihood
Cumulative log-likelihood computed on a sliding window.
Definition: xmmHmmResults.hpp:53
double exit_ratio
Likelihood to exit the gesture on the next time step (normalized -/- total likelihood) ...
Definition: xmmHmmResults.hpp:84
unsigned int likeliest_state
Index of the likeliest state.
Definition: xmmHmmResults.hpp:89
Class-specific Results of the filtering/inference process.
Definition: xmmModelResults.hpp:47
Definition: xmmHmmParameters.hpp:43
double instant_likelihood
Instantaneous likelihood.
Definition: xmmHmmResults.hpp:48
Definition: xmmAttribute.hpp:42
std::vector< float > output_values
Predicted Output parameter vector (only used in regression mode)
Definition: xmmHmmResults.hpp:59