Questions tagged [hidden-markov-models]

Hidden Markov Models are a model for understanding and predicting sequential data in statistics and machine learning, commonly used in natural language processing and bioinformatics.

Hidden Markov Models (HMM) are a model for understanding and predicting sequential data in statistics and machine learning, commonly used in natural language processing and bioinformatics. In HMM, the hidden state variable cannot be observed, but usually some output variable that dependent on the hidden state is visible.

520 questions
3
votes
0 answers

How do I use the encog data formats for audio classification with hidden markov models?

I am trying to classify audio data with MFCC and an Hidden Markov Model. I am using the encog java library. I have a working MFCC implementation and get 13 coefficients out of it. I can't get it to work probably, I think my biggest problem is the…
3
votes
1 answer

Train speech HMM from MFCC with Matlab hmmtrain

I read many articles on this but I just do not understand how I have to proceed. I'm trying to build a basic Speech recognition system using the MFCC features to the HMM , I'm using the data available here. I'm using Matlab to do this. So far I…
3
votes
2 answers

Hidden Markov model classifying a sequence in Matlab

I'm very new to machine learning, I'v read about Matlab's Statistics toolbox for hidden Markov model, I want to classify a given sequence of signals using it. I'v 3D co-ordinates in matrix P i.e [501x3] and I want to train model based on that. Evert…
user3396151
3
votes
1 answer

Matlab - Generating HMM

Let's assume that I have a random set of observations: obs = [1, 2, 3, 5, 5, 5, 5, 5] These observations represent 1 state in the HMM. In Matlab, I want to model these observations so then I can use the Viterbi algorithm in order to create a kind of…
Phorce
  • 4,424
  • 13
  • 57
  • 107
3
votes
1 answer

Applying Hidden Markov Models in Python

I recently had a homework assignment in my computational biology class to which I had to apply a HMM. Although I think I understand HMMs, I couldn't manage to apply them to my code. Basically, I had to apply the Fair Bet Casino problem to CpG…
Luigi
  • 4,129
  • 6
  • 37
  • 57
3
votes
2 answers

Estimate Markov Chain Transition Matrix in MATLAB With Different State Sequence Lengths

I'm trying to build the transition matrix for a Markov Chain in MATLAB; I have several different observation sequences (all of varying lengths) and I need to generate the transition matrix using those. Constructing a multi-order Markov chain…
3
votes
1 answer

Hidden Markov Model Training for Dynamic Gestures?

I know there is a lot of material related to hidden markov model and I have also read all the questions and answers related to this topic. I understand how it works and how it can be trained, however I am not able to solve the following problem I am…
masad
  • 1,547
  • 1
  • 18
  • 40
3
votes
1 answer

Getting the next observation from a HMM gaussian mixture distribution

I have a continuous univariate xts object of length 1000, which I have converted into a data.frame called x to be used by the package RHmm. I have already chosen that there are going to be 5 states and 4 gaussian distributions in the mixed…
h.l.m
  • 13,015
  • 22
  • 82
  • 169
3
votes
1 answer

algorithm for detecting position in an unknown cycle (timeseries)

Let's say you want to predict the next time the boat will visit as a probability. You start taking observations at an arbitrary position in the boat cycle. When you make an observation you can only record if the boat is visible or not (assume if it…
3
votes
2 answers

Hidden markov models implementation in .net?

Does anyone know of any HMM implementation in .net? I've some stuff that I did that was basicly reverse engineered from what little knowledge that I have regarding the subject and some c++ code of a very domain specific application that one of my…
paan
  • 7,054
  • 8
  • 38
  • 44
2
votes
1 answer

initialize HiddenMarkovModelTrainer object

i'm doing gesture recognition in python and one the the more complete library i've found that can manage Hidden Markov Model is nltk. But there is something that i can't understand. First of all, the data. I have coordinates of the gesture and i…
nkint
  • 11,513
  • 31
  • 103
  • 174
2
votes
2 answers

Effect of Number of States in a Hidden Markov Model based classifier

What is the relation between the number of clusters/codebook, number of states in a hidden markov model How do number of states affect the performance of hidden markov model based classifier?
garak
  • 4,713
  • 9
  • 39
  • 56
2
votes
2 answers

HMM for solving given coin output

I have got this assignment question on HMM and I have solved it. I would like to know if I am correct. The problem is: Suppose a dishonest dealer has two coins, one fair and one biased; the biased coin has heads probability 1/4. Assume that the…
smandape
  • 1,033
  • 2
  • 14
  • 31
2
votes
1 answer

Viterbi algorithm for real-time applications

I know that given an HMM and an observation, Viterbi algorithm can guess the hidden states sequence that produce this observation. But what about the case you want to use it real-time? I mean finding the hidden states step by step. Every time an…
2
votes
2 answers

Hidden Markov Models inplementation in R or python

Do you know any good literature and/or tutorials about how to implement HMM in python, R (Bioconductor)? (especially for sequence analysis)
didymos
  • 1,191
  • 3
  • 10
  • 13