ImFusion SDK 4.3
ClMarkovChain Class Reference

#include <ImFusion/CL/ClMarkovChain.h>

OpenCL-based Viterbi algorithm. More...

Detailed Description

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.
 

Member Function Documentation

◆ logViterbi()

std::vector< int > logViterbi ( const Eigen::VectorXf & initProb,
const Eigen::MatrixXf & obsProb,
const Eigen::MatrixXf & transProb )

Predict the states given a set of probabilities.

Parameters
initProbProbabilities of the state at time t=0
obsProbObservation matrix of size States x Observations. Defines probability to see an observation from a particular state
transProbTransition 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
Returns
predicted states

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close