极品馒头泬19p,国产精品亚洲一区二区三区,狠狠色噜噜狠狠狠7777奇米,国产精品视频一区二区三区无码,国产欧美日韩久久久久

【B403】EM算法實(shí)現(xiàn)(使用EM算法求解GMM模型參數(shù))

2021-11-18 21:30:42      索煒達(dá)電子      849     

項(xiàng)目編號:B403

文件大?。?.6M

操作系統(tǒng):Windows10旗艦版

源碼說明:帶中文注釋

開發(fā)工具:Python

開發(fā)語言:.py

首先使用Excel內(nèi)置的NORM.INV()或者python中np.random.normal()功能生成男生和女生的身高數(shù)據(jù),男生身高的正態(tài)分布為 N_M (175,15),即男生身高的均值為175,標(biāo)準(zhǔn)差為15;女生身高的正態(tài)分布為N_F (165,10),即女生身高的均值為165,標(biāo)準(zhǔn)差為10。按照上述分布隨機(jī)生成男生身高數(shù)據(jù)200個(gè),女生身高數(shù)據(jù)100個(gè),得到男女生的數(shù)量比為2:1。之后將數(shù)據(jù)進(jìn)行混合,通過混合后的300個(gè)數(shù)據(jù)和EM算法估計(jì)男生和女生在數(shù)據(jù)集中的比例以及二者各自所服從的分布的形式。

設(shè)計(jì)報(bào)告:

【B403】EM算法實(shí)現(xiàn)(使用EM算法求解GMM模型參數(shù))

運(yùn)行結(jié)果:

【B403】EM算法實(shí)現(xiàn)(使用EM算法求解GMM模型參數(shù))

目錄│文件列表:

 └ Expectation_Maximum_Algorithm-master

    │ EM.py

    │ Maximum Likelihood from Incomplete Data via the EM Algorithm.pdf

    │ test.py

    │ 課程設(shè)計(jì)報(bào)告.docx

    ├ .idea

    │  │ .gitignore

    │  │ .name

    │  │ deployment.xml

    │  │ Expectation-Maximum Algorithm.iml

    │  │ misc.xml

    │  │ modules.xml

    │  │ workspace.xml

    │  └ inspectionProfiles

    │     │ profiles_settings.xml

    │     └ Project_Default.xml

    ├ data

    │  │ data.xlsx

    │  └ data_generator.xlsx

    └ result

       │ data_1.txt

       │ data_2.png

       │ data_2.txt

       │ large_data.png

       │ large_data.txt

       │ rand_1.txt

       │ rand_2.png

       │ rand_2.txt

       │ rand_3.png

       │ rand_3.txt

       │ rand_4.png

       │ rand_4.txt

       │ rand_5.png

       │ rand_5.txt

       │ rand_6.png

       │ rand_6.txt

       │ rand_7.png

       └ rand_7.txt

TAGEM算法
  • 2 次
  • 100 分