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
0
votes
1 answer

Viterbi Search - Hypothetical Probabilities

I'm constructing an Hidden Markov Model to identify whether someone is saying either "Yes" or "No". I have developed the Hidden Markov Model and I have come across a tutorial from this…
Phorce
  • 2,632
  • 13
  • 43
  • 76
0
votes
2 answers

Attribute Error? Program Is Close to Running

Hello: Just a quick question.. I hope. I am trying to use this program to generate random text from a corpus.. in this case a portion of a book. I have a text file that is my corpus: (This is the intro, won't post the whole thing here) The Project…
Are you Shure
  • 85
  • 2
  • 7
0
votes
2 answers

Hidden Markov Models - Identifying Phonemes

I'm developing a project that identifies Phonemes to be able to identify whether someone is saying either "Yes" or "No". So far in the project, I have used Zero-crossings to identify what the person is saying, this works really well and seems simple…
0
votes
2 answers

Generating a set of emissions given a transition matrix and starting state in a hidden markov model

I have the transition matrix, emission matrix and starting state for a hidden Markov model. I want to generate a sequence of observations (emissions). However, I'm stuck on one thing. I understand how to choose among two states (or emissions). If…
mac389
  • 3,004
  • 5
  • 38
  • 62
0
votes
1 answer

Advanced video analysys - how to bite it?

I need to do an application that: captures video data from camcorder, do some processing (Monte Carlo methods, Markov's fields and chains, etc.), saves the data as video file, enriched with upper surface containing information about the processing…
0
votes
1 answer

Hidden Markov Model in C++

I have been working on activity recognition problem using Opencv in linux environment. I reached up to sequence of symbol(using k-means clustering). And now I want to train those sequence of different activity using Hidden Markov Model in C++. But I…
Darshan
  • 151
  • 5
  • 13
0
votes
0 answers

ImportError with pythons libghmm library

I have followed the installation directions to install the GHMM library. However, I still get the following error: Python 2.6.6 (Apr 11 2011, 15:50:32) [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2 Type "help", "copyright", "credits" or…
0
votes
1 answer

How to know whether a jar file can be run on Android?

I'm asking this because i want to use this Hidden Markov Model classifier in an android app. The lib makes no use of any graphical UI so my guess is that I can use just like that? How to know which jars we can and which not on android?
jorrebor
  • 2,166
  • 12
  • 48
  • 74
0
votes
1 answer

Jahmm lib: how to interpret negative value from ForwardBackwardScaledCalculator.lnProbability()?

I use the Jahmm library for classification of accelerometer sequences. I have created my models but when i try to calculate the proibablity of a test sequence on a model by: ForwardBackwardScaledCalculator fbsc = new…
jorrebor
  • 2,166
  • 12
  • 48
  • 74
0
votes
1 answer

Why do we iterate when training a Hidden Markov Model

I'm using a hidden markov model for classification, the jahmm implementation. When training a model i use kMeans clustering for an initial model. Then i a use an arbitrary iteration rounds to optimize the model. I was wonderding was happens in…
jorrebor
  • 2,166
  • 12
  • 48
  • 74
0
votes
2 answers

Generating a Markov model from a matrix

The definition may be wrong, so please correct me if that is so.. I need to generate a Markov model from a matrix of a following kind: four two "e" four two "e" three three "e" one three "e" zero …
Stpn
  • 6,202
  • 7
  • 47
  • 94
-1
votes
1 answer

What does mean that P(λ) is the prior probability in a Hidden Markov Model?

Given the following parameters: λ = (A,B,π). A = the state transition matrix A = { a[i][j] } = { P(state q[i] at t | state q[j] at t+1) }, B = the observation matrix and π = the initial distribution. It is correct the sentence below? (making…
JMFS
  • 297
  • 1
  • 4
  • 11
-1
votes
1 answer

Create a transition matrix for hidden markov model

I have a grid of 30x30 which is discretized into 1x1, 900 cells. And the probability of moving from a particular cell to one step up, down, left, and right are 0.4, 0.1, 0.2, 0.3 respectively. I want to initialize a transition probability matrix of…
-1
votes
2 answers

D separation python implementation

I am completely new to the field of Bayesian Networks. For my project, I need to check All the possible d separation conditions existing in a 7 node dag and for that I am looking for some good python code. My knowledge in programming is limited ( a…
-1
votes
1 answer

Hidden Markov package in Python or R

I want to build a Hidden Markov model (HMM), that must contain these properties: More than one subject need to be fitted, because I make use of panel/longitudinal data Discrete distributions Multivariate output/emission The transition…
1 2 3
34
35