Expectation Maximization (often abbreviated EM) is an iterative algorithm that can be used for maximum likelihood estimation in the presence of missing data or hidden variables.
Questions tagged [expectation-maximization]
125 questions
1
vote
0 answers
Maximum Likelihood - Estimating Number of maximas
I'm training a Hidden Markov Model using EM, and want to get some estimation of how "certain" I can be about the learned parameters (i.e- the estimated transition, emission, and prior probabilities). In general, different initial conditions result…

David U
- 11
- 4
1
vote
2 answers
How to save/write OpenCV EM/GMM model using Python?
I would like to know if there exists any method/function which can be used for saving a trained EM (Expectation Maximization or Gaussian Mixture Model) model defined in OpenCV by using Python?
I have already tried Pickle dump() method but its not…

Sanchit
- 3,180
- 8
- 37
- 53
1
vote
1 answer
Computing Gaussian Mixture Model with Expectation Maximization using Mapreduce
Where I can find a Mapreduce implementation(or tutorial) for computing GMM using EM?
Also is it really feasible to do it using mapreduce framework?
I have found this lecture link but it does not contains detail description, also if my data(mean and…

Parag
- 662
- 9
- 15
1
vote
1 answer
Prediction of rainfall using nonhomogeneous Hidden Markov Model
I am new to HMM but I have gone through enough literature. I am working on a project in which I will be predicting rainfall using atmospheric parameters.
I have four observable characteristics of the atmosphere (humidity, temperature, wind, sea…

Kumar
- 13
- 6
1
vote
1 answer
Expectation Maximization get covs function not working on OpenCV 2.4.6 and number of cluster change after train function
I have two questions. First one is why ncluster switch from 10 to 80 after the train function.
Second: I am passing my code from C to C++ with OpenCV but it seems there are some problems with it. I am having an exception when I try to get the covs…

antonio escudero
- 109
- 1
- 8
1
vote
1 answer
Stata Code for the Expectations Maximization Algorithm
Is there a Stata module or code available for the Expectation Maximization (EM) algorithm? I cannot seem to find any, but I thought it was worth checking in.
My interest is in EM for record linkage. See, for example:…

paso
- 168
- 10
1
vote
2 answers
How to prove the convergence of EM?
Can you anybody explain how to prove the convergence of the Expectation Maximization algorithm?
For example EM for coins problems: https://math.stackexchange.com/questions/25111/how-does-expectation-maximization-work
user1599171
1
vote
1 answer
Numpy __array_prepare__ error
I'm trying to get a recipe working that I found online for doing expectation maximization (http://code.activestate.com/recipes/577735-expectation-maximization/). I run into the following error:
Traceback (most recent call last):
File "./runem.py",…

Doa
- 1,965
- 4
- 19
- 35
0
votes
1 answer
Expectation maximization algorithm implementation with NaiveBayes
I've implemented the Naive-Bayes Document classification with good text filtration and i have accepted statistical results with a good accuracy , i need to enhance my results using an EM algorithm .
But i don't know if i may apply the EM algorithm…

Mina Kolta
- 1,551
- 2
- 12
- 22
0
votes
0 answers
Fitting a Gaussian Mixture Model with known share of noise/outliers
Question was moved to stats.stackexchange
A Gaussian Mixture model is fitted by the Expectation-Maximization algorithm.
This fairly simple algorithm consists of two steps and the initialization.
Initialization (for k=2 Gaussians)
Find (or guess) an…

Klops
- 951
- 6
- 18
0
votes
1 answer
Computing Mixing Coefficients (Weights) of Mixed Copula Model (Gumbel and Unstructured Student-t) using EM Algorithm in R
Hello Stack Overflow community,
I am currently working on a project involving the estimation of a mixed copula model composed of a Gumbel copula and an unstructured Student-t copula. I would like to know how to compute the mixing coefficients…
0
votes
0 answers
Replicating PROC MI in R - but when nimpute = 0
I'm trying to implicate the EM imputation method in R and I've tried every package: MICE, Amelia, norm2.
I'm trying to do from this in SAS:

AllyHocky
- 1
- 1
0
votes
0 answers
Dirichlet Process manually
I am implementing the Dirichlet Mixture Model using the EM algorithm in R, but am experiencing issues with the results. I generated two binomial distributions with fractions of (70%, 30%) and means of (0.05, 0.18), and trimmed 5% of the data set…

hollyjolly
- 115
- 11
0
votes
0 answers
How do I handle this error "Error in par[1] : object of type 'closure' is not subsettable"
I keep encountering error "Error in par[1] : object of type 'closure' is not subsettable" when I try integrating Aa. This happens after calling Aa(par,m)-code provided. I am trying to develop EM algorithm to obtain estimates of parameters but I…
0
votes
0 answers
EM algorithm for clustering of Gaussian Mixture models
I have a multivariate dataset(4 dimensions) of 150 points. I should use EM algorithm to group the given set of points into clusters. The number of clusters to which these points fall into is also given as 3. So, the task is to find out the Gaussians…

Sasi Bhushan V Saladi
- 3
- 1
- 2