資源簡介
介紹EM算法,EM算法的基本思路,EM算法源代碼

代碼片段和文件信息
function?y?=?confreg(muSna)
%CONFREG(muSna)?plots?an?95%?confidence?region?for?the?means?based?on?the
%approach?of?T-square?of?Hotelling?to?the?F?distribution?with?2n-2?df‘s
%in?the?2?dimensional?case.
p=2;
xbar=mu(11);
ybar=mu(21);
sigmax=S(11);
sigmay=S(22);
covxy=S(12);
F=finv(1-apn-p);
syms?x?y?;
s=([x-xbar?y-ybar]*inv([sigmax?covxy;covxy?sigmay])*[x-xbar;y-ybar])-p*((n)/(n-p))*F;
s=simplify(s);
ezplot(s[-14?15]);
grid;
zoom(10);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????456??2003-04-03?14:52??EM算法代碼\confreg.m
?????文件???????4797??2003-04-23?09:42??EM算法代碼\EMfc.m
?????文件???????1748??2003-03-23?03:18??EM算法代碼\kmeansit.m
?????目錄??????????0??2009-04-09?10:56??EM算法代碼
-----------?---------??----------?-----??----
?????????????????7001????????????????????4
評論
共有 條評論