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

basic help using hmm to clasify a sequence

I am very new to matlab, hidden markov model and machine learning, and am trying to classify a given sequence of signals. Please let me know if the approach I have followed is correct: create a N by N transition matrix and fill with random values…
Ahmed-Anas
  • 5,471
  • 9
  • 50
  • 72
4
votes
2 answers

Using HMM in Weka

I am using weka.classifiers.bayes.HMM to try to classify some of my data, but I can't seem to find any examples of exactly how my ARFF file should look like...the documentation wasn't really clear to me. So I understand that HMMs require…
4
votes
1 answer

Given 100,000 word-to-phonemes mappings, how can I split the original words on the phoneme boundaries?

I have a mapping of 100,000+ words to their phonemes (CMUdict), like: ABANDONED => [ 'AH', 'B', 'AE', 'N', 'D', 'AH', 'N', 'D' ] I want to split the original words' letters into a number of groups equal to the number of phonemes, e.x. ABANDONED =>…
4
votes
1 answer

How to make future prediction with Hidden Markov Models

I have many sequences of variable length. For these I want to train a Hidden Markov Model that I want to use later to predict possible continuations of (partial) sequences. I have found two ways to predict the future using HMMs so far: 1)…
Tim
  • 333
  • 4
  • 13
4
votes
0 answers

Handling Underflow with HMM Forward-Algorithm

I'm trying to implement the Forward-Algorithm for a Hidden Markov Model (HMM) and I'm facing the underflow issue when filling the alpha table. I normalized the alpha values using the method described in section 6 here but now the resulting sum of…
4
votes
1 answer

What is the equivalent for a Hidden Markov Model in the WEKA toolkit?

I need to classify a datastream which comes from a sensor network consisting of 8 accelerometers. Each accelerometer gives me a X Y and Z value. Thus at each sample i have 8 x 3 = 24 acceleration values. I sample at about 30 hz and the performance…
jorrebor
  • 2,166
  • 12
  • 48
  • 74
4
votes
2 answers

Error in HMM package in R

I need some help on this error. I am trying build a HMM module using the HMM package in R. I am not able to understand what's wrong with my code. Error is in training HMM using the Baum-Welch algorithm lathmm =…
datta ram
  • 41
  • 4
4
votes
3 answers

Looking for uses of the Forward Algorithm

I'm looking for some realworld applications of the Forward Algorithm as proposed by Rabiner (forward Algorithm on wikipedia). I would prefer applications where the executing time is important.
Martin Kristiansen
  • 9,875
  • 10
  • 51
  • 83
3
votes
3 answers

Import error ghmm library

i get this error: Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.6/dist-packages/ghmm.py", line 112, in import ghmmwrapper File…
jorrebor
  • 2,166
  • 12
  • 48
  • 74
3
votes
0 answers

HMM Application for Kinect in C# WPF

I want to apply Hidden Markov Model to Kinect with C# WPF API.I'm not sure that if it is possible or not? What do you think about that? This is a good work or not? I mean some friends says that C++ or Matlab is better application API. But, I don't…
Gianna
  • 51
  • 1
  • 4
3
votes
2 answers

How can I find examples of problems to solve with hidden markov models?

I read quite a bit of hidden markov models and was able to code a pretty basic version of it myself. But there are two main ways I seem to learn. One is to read and implement it into code(which is done) and the second is to understand how it…
Lostsoul
  • 25,013
  • 48
  • 144
  • 239
3
votes
0 answers

How to fix? 'It is recommended to have a covariance matrix with a determinant bigger than 1/ ((2*PI)^k) .' when using RcppHMM package in R

I am using a RcppHMM package to make a GHMM(Multivariate gaussian mixture HMM model) with continuous observation. I want to learn an EM algorithm using continuous observations with different sequence lengths. To be specific, each observation has a…
dobby
  • 31
  • 2
3
votes
0 answers

Understanding how to calculate removal effects in a markov chain

I am currently trying to model a Marketing Multi-Channel Attribution. All the articles and the packages I have come across use a special "start" state and the removal effect is calculated based on that start state using the following matrix…
3
votes
1 answer

What HMM (Hidden Markov Model) compression libraries available for .NET?

I am looking for a library that use Markov Models/Hidden Markov Models for data compression. I will need to use it from the .NET. I googled for MM/HMM compressors but didn't find any helpful reference (I can be be a bad googler though). Any…
oleksii
  • 35,458
  • 16
  • 93
  • 163
3
votes
0 answers

Supervised Learning HMM with Pomegranate

thanks for your help, I am new about this topic. I have a dataset composed of a sequence of binary observable variables associated with a label, like this. trainset = [ [0,0,1,0],[0,0,1,0],[0,0,0,1],...,] labels = [ 0,1,2,...,] states = 3 # number…