how I can use gaussian mixture model to calculate a statistical value

2 ビュー (過去 30 日間)
ZhG
ZhG 2013 年 11 月 22 日
コメント済み: Bruno Pop-Stefanov 2013 年 11 月 22 日
Hello,
I have a set of spacial point, i.e. coordinate (x,y) of each point. I want to use the gaussian mixture model. But, how I can calculate one or several statistical values of these point?

回答 (1 件)

Bruno Pop-Stefanov
Bruno Pop-Stefanov 2013 年 11 月 22 日
編集済み: Brewster 2013 年 11 月 22 日
MATLAB implements the Expectation-Maximization algorithm to fit a Gaussian mixture to some data. Use the gmdistribution.fit function from the gmdistribution class on your input data. There is a detailed example showing you the steps here. You can then have access to the means and covariances of each distribution in the mixture. Does that answer your question?
  4 件のコメント
ZhG
ZhG 2013 年 11 月 22 日
And is there any bivariate gaussian model in Matlab? Thanks again.
Bruno Pop-Stefanov
Bruno Pop-Stefanov 2013 年 11 月 22 日
You have to specify the number of Gaussian models in your mixture; that's the parameter k.
X represents the data you would like a Gaussian mixture to fit to. If you have 2D points, then X is a list a (x,y) coordinates, i.e. a N-by-2 matrix. If your X is a vector, then your data is 1-dimensional.
The dimensions of the Gaussian distributions in the mixture are deduced from the dimensions of your input data X. For example, using 2D data, each point has 2 dimensions and the Gaussians in the mixture will have 2 dimensions as well.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by