Multinomial naive Bayes algorithm yog dab tsi?
Multinomial naive Bayes algorithm yog dab tsi?

Video: Multinomial naive Bayes algorithm yog dab tsi?

Video: Multinomial naive Bayes algorithm yog dab tsi?
Video: Implementing Multinomial Naive Bayes Classifier Algorithm for Text Classification | Machine Learning 2024, Tej zaum
Anonim

Kev thov Multinomial Naive Bayes rau NLP Problems. Naive Bayes Classifier Algorithm yog ib tsev neeg ntawm tej yam tshwm sim algorithms raws li kev thov Bayes ' theorem nrog rau " naive "kev xav ntawm kev ywj pheej ywj pheej ntawm txhua khub ntawm ib qho tshwj xeeb.

Kuj paub, ua li cas multinomial naive Bayes ua haujlwm?

Lub sij hawm Multinomial Naive Bayes tsuas yog qhia rau peb paub tias txhua p(fi|c) yog a multinomial kev faib tawm, ntau dua li lwm qhov kev faib tawm. Qhov no ua haujlwm zoo rau cov ntaub ntawv uas tuaj yeem hloov tau yooj yim rau hauv suav, xws li cov lus suav hauv cov ntawv nyeem.

Ib yam li ntawd, Alpha hauv multinomial naive Bayes yog dab tsi? Hauv Multinomial Naive Bayes , cov alpha parameter yog qhov hu ua hyperparameter; i.e. parameter uas tswj cov qauv ntawm tus qauv nws tus kheej.

Ib tug kuj yuav nug, dab tsi yog kev siv ntawm naive Bayes algorithm?

Naive Bayes siv ib txoj kev zoo sib xws los kwv yees qhov tshwm sim ntawm cov chav kawm sib txawv raws li ntau yam cwj pwm. Qhov no algorithm yog feem ntau siv hauv kev faib cov ntawv nyeem thiab muaj teeb meem muaj ntau chav kawm.

Dab tsi yog Laplace smoothing hauv naive Bayes?

Kev daws yuav yog Laplace smoothing , uas yog ib tug txheej txheem rau smoothing categorical cov ntaub ntawv. Ib qho kev kho me me, lossis pseudo- suav, yuav muab tso rau hauv txhua qhov kev kwv yees qhov tshwm sim. qhov no yog ib txoj hauv kev ua kom tsis tu ncua Naive Bayes , thiab thaum pseudo- suav yog xoom, nws hu ua Laplace smoothing.

Pom zoo: