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

Classifying data into known patterns with accord.net

Let me begin by saying that my knowledge about machine learning is very, very limited. But I guess I could use my situation to learn it. My problem domain evolves 18 well-known patterns. Those patterns are assigned to users once they get created in…
2
votes
1 answer

The role of the first observation in backward algorithm

My question is related to the Backward algorithm. The recursive formula for the algorithm is as follows: sigma j = 1 to N (t+1(j) * aij * bj(Ot+1)) Where t+1(j) is the recursive element, aij is the transition probability from state i to j, and…
2
votes
0 answers

Python: pickle.load __init__ error

I have trained a HMM model to add punctuation into Arabic text and I want to save it to not repeating the training phase every time I enter a text to the model for tagging it .. I use pickle for these task as I see in tutorials. I do exactly like…
Islam Kh
  • 55
  • 6
2
votes
2 answers

hmmlearn: how to get the prediction for the hidden state probability at time T+1, given a full observation sequence 1:T

I'm using hmmlearn's GaussianHMM to train a Hidden Markov Model with Gaussian observations. Each hidden state k has its corresponding Gaussian parameters: mu_k, Sigma_k. After training the model, I would like to calculate the following…
cwl
  • 501
  • 2
  • 7
  • 18
2
votes
1 answer

HTK - What do MFCCs of an HMM model and Input WAV File represent?

While creating MFCCs following Voxforge's tutorial for a Speech to Text System using HTK (Hidden Markov Model Tool Kit), we are required to define a prototype model for our phones. I am trying to wrap my head around this this file. ~o 25…
Ajay H
  • 794
  • 2
  • 11
  • 28
2
votes
1 answer

Hidden Markov Models instead of FSM in a first person shooter game

I have been working on a course project in which we implemented an FPS using FSMs, by showing a top 2d view of the game, and using the bots and players and circles. The behaviour of bots was deterministic. For example, if the bot's health drops to…
Karan
  • 11,509
  • 8
  • 34
  • 38
2
votes
1 answer

Classification HMM gyroscope data Jahmm Can't learn model

I'm training HMMs implemented in JaHMM with sensor data from an accelerometer and a gyroscope obtained from an Android wearable. The HMM trained with accelerometer data outputs fine learned states, and has a somewhat acceptable error rate. Both…
Peter
  • 799
  • 4
  • 8
  • 23
2
votes
0 answers

Is there any R package supporting learning multiple sequences?

R Markov chain and HMM packages are nice packages, but both of them only support learn a model from one sequence (correct me if I am wrong). Is there any package allow user to learn a model from multiple sequences?
hxd1011
  • 885
  • 2
  • 11
  • 23
2
votes
0 answers

How to use Gesture Recognition Toolkit (GRT) using its interface to train (HMM model) and test from datasets which have already been created?

I am currently working on a project-Air Writing using inertial sensors. Based on the 6-DOF (Degrees Of Freedom), accelerometer and gyroscope values received from the sensor placed on the finger, the system should identify the gesture made using the…
2
votes
0 answers

How to define latent Markov models using LMest and seqHMM

I am trying to estimate mixture Latent Markov models (sometimes also called mixture hidden Markov models) using R. There are a couple of suitable packages. I am currently testing LMest and seqHMM. At the moment, I am trying to understand how both…
2
votes
0 answers

Any Alternate/ Comparative named algorithm to find Probability of an observed sequence in HMM, beside Forward-Algorithm

Is there any other named algorithm to find Probability of an observed sequence, beside forward-algorithm. Any naive approach can resolve this, but i am looking for alternate named algorithm. Any idea, hint of the algorithm-name would be…
2
votes
0 answers

HMM Error in if (d < delta) { : missing value where TRUE/FALSE needed

I have some problems with the viterbiTraining function from the HMM package. I tried using it on a pretty straightforward hmm and a vector of observations. Here's the…
2
votes
1 answer

Finding probabilities of patterns in asset price movements based on multiple variables

I am seeking a method to allow me to analyse/search for patterns in asset price movements using 5 variables that move and change with price (from historical data). I'd like to be able to assign a probability to a forecasted price move when for…
2
votes
0 answers

MATLAB Murphy's HMM Toolbox: Inconsistent Output Sequence and Label Statesname and Symbols

Hi I have been using Murphy's HMM toolbox with output of Gaussian Mixture. In brief, I have 2 datasets for training. Each dataset comprises of 2000 observations with 11 dimensions per observation. I implemented the following steps to observe the…
rayleigh
  • 21
  • 2
2
votes
0 answers

Simulate an artificial state-change sequence from a fitted semi-Markov model in R

I have a sequence of behavioural states (for a single moving animal), each with an associated duration, and am interested in producing a synthetic state sequence that preserves the properties of the original (particularly, the state-change…
Tom
  • 151
  • 9