Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the existing data for classification? #1

Open
Linkersem opened this issue Jul 2, 2020 · 2 comments
Open

How to use the existing data for classification? #1

Linkersem opened this issue Jul 2, 2020 · 2 comments

Comments

@Linkersem
Copy link

I have a set of one-dimensional data and need to use the EM algorithm to calculate the mean and standard deviation of each Gaussian distribution, but this algorithm seems to only use the data generated by itself?

@kailugaji
Copy link
Owner

kailugaji commented Jul 5, 2020

I just updated a repository.
You can refer to this Matlab code: https://github.com/kailugaji/Gaussian_Mixture_Model_for_Clustering

If you only fit one-dimensional data, you can consider using this matlab function ‘fitgmdist()’
Refer to https://www.mathworks.com/help/stats/fitgmdist.html
https://www.mathworks.com/help/stats/fit-a-gaussian-mixture-model-to-data.html

Chinese version: MATLAB用“fitgmdist”函数拟合高斯混合模型(一维数据)

@Linkersem
Copy link
Author

Thank you very much for your help, the method you provided has a great meaning to my question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants