![]() |
ImFusion SDK 4.3
|
#include <ImFusion/CL/ClMarkovChain.h>
OpenCL-based Viterbi algorithm. More...
OpenCL-based Viterbi algorithm.
Public Member Functions | |
| std::vector< int > | logViterbi (const Eigen::VectorXf &initProb, const Eigen::MatrixXf &obsProb, const Eigen::MatrixXf &transProb) |
| Predict the states given a set of probabilities. | |
| std::vector< int > logViterbi | ( | const Eigen::VectorXf & | initProb, |
| const Eigen::MatrixXf & | obsProb, | ||
| const Eigen::MatrixXf & | transProb ) |
Predict the states given a set of probabilities.
| initProb | Probabilities of the state at time t=0 |
| obsProb | Observation matrix of size States x Observations. Defines probability to see an observation from a particular state |
| transProb | Transition matrix is of size States x States, where rows are the target state and columns the source states. Defines probabiity to change from one state to another |