How can I add two Gaussian Mixture models?

5 Ansichten (letzte 30 Tage)
Rizwan Ishaq
Rizwan Ishaq am 28 Jan. 2016
Beantwortet: Brendan Hamm am 28 Jan. 2016
If I have Guassian Mixture model of 5 mixtures, and I get new data, and want to add this data Gaussian mixture model into existing Guassian mixture model, how can I do this?
GMM=fitgmdist(features_vector,16);
now I have new data such as new features_vector features_vectore_new and calculated GMM for this one as well GMM_new=fitgmdist(features_vectore_new,16);
how can I update the GMM with new GMM_new??
h_GMM=GMM+GMM_new??????????
  1 Kommentar
Adam
Adam am 28 Jan. 2016
You can't add two models together. I'm not quite sure what kind of result you are aiming for.
If you have new data you can combine it with the old data and recreate a GMM based on the new combined data set, but if you create independent GMMs out of each set of data then I'm not sure what you are expecting the result to represent?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Brendan Hamm
Brendan Hamm am 28 Jan. 2016
The quick answer is you cannot. The fitting function needs to estimate the means vectors and covariance matrices for each of the Gaussians being used. This requires all of the training data to be incorporated simultaneously. So, you essentially need to fit this model all at once:
GMM = fitgmdist([features_vector;features_vectore_new],16);
Or, something similar depending on how you envision the output.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by