Skip to content

SenHanami/EM_implemented_by_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

EM.py

  • 初始均值,协方差矩阵采用随机采样生成

EM_plus_KMEANS.py

  • 先随机抽取部分样本用KMEANS分类,得到各类的均值和协方差矩阵,用它们作为Gaussian的初始参数,这既可以避免Gaussian初始值不恰当导致的回归时间过长,又可以避免贝叶斯估计时分母(一个样本点的概率密度)过小从而被计为0导致的报错。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages