Dab tsi yog naive Bayes algorithm piv txwv?
Dab tsi yog naive Bayes algorithm piv txwv?

Video: Dab tsi yog naive Bayes algorithm piv txwv?

Video: Dab tsi yog naive Bayes algorithm piv txwv?
Video: Data Mining Gini index Example 2024, Kaum ib hlis
Anonim

Naive Bayes yog ib qho kev kawm siv tshuab algorithm uas tuaj yeem siv rau hauv ntau yam kev faib ua haujlwm. Cov ntawv thov muaj xws li lim spam, faib cov ntaub ntawv, kev xav kwv yees thiab lwm yam. Nws yog raws li cov haujlwm ntawm Rev. Thomas Bayes (1702 61) thiab yog li lub npe.

Hais txog qhov no, naive Bayes algorithm ua piv txwv li cas?

Hauv cov ntsiab lus yooj yim, a Naive Bayes classifier xav tias muaj ib qho tshwj xeeb hauv chav kawm tsis muaj feem cuam tshuam nrog lwm yam feature. Rau piv txwv , cov txiv hmab txiv ntoo yuav suav hais tias yog txiv apples yog tias nws yog xim liab, puag ncig, thiab txog 3 ntiv tes inch.

Tsis tas li ntawd, qhov tshwm sim ua ntej hauv naive Bayes yog dab tsi? Naive Bayes classifier xav tias cov txiaj ntsig ntawm tus nqi ntawm tus kwv yees (x) ntawm chav kawm muab (c) yog ywj siab ntawm qhov tseem ceeb ntawm lwm tus kwv yees. P(x|c) yog qhov zoo li uas yog qhov tshwm sim ntawm kwv yees muab chav kawm. P(x) yog ua ntej yuav tshwm sim ntawm kwv yees.

Kuj paub yog, lub ntsiab lus ntawm naive Bayes yog dab tsi?

A naive Bayes classifier yog ib qho algorithm uas siv Bayes ' theorem los faib cov khoom. Naive Bayes classifiers xav tias muaj zog, los yog naive , kev ywj pheej ntawm cov cwj pwm ntawm cov ntaub ntawv cov ntsiab lus. Naive Bayes kuj hu ua yooj yim Bayes los yog kev ywj pheej Bayes.

Vim li cas naive Bayes siv?

Cov Naive Bayes yog ib qho kev faib algorithm uas tsim nyog rau kev faib binary thiab multiclass. Naïve Bayes ua tau zoo nyob rau hauv cov ntaub ntawv ntawm categorical input variables piv rau cov lej sib txawv. Nws muaj txiaj ntsig zoo rau kev kwv yees thiab kev kwv yees cov ntaub ntawv raws li cov txiaj ntsig keeb kwm.

Pom zoo: