DalšíDalší průvodce
Dekódování minimálního Bayesova rizika
Jazyk AI
PRŮVODCE Základy
Naive Bayes is a probabilistic classifier based on Bayes’ theorem with a conditional-independence assumption for features given a class.
Poslechněte si tento návodAI-vyprávěný · ~1 min
Its variants use different likelihood models for different feature types.
Naive Bayes applies Bayes’ theorem to estimate a class posterior from a prior and feature likelihoods. Its simplifying assumption treats features as conditionally independent given the class. Multinomial and Bernoulli variants use count or binary feature representations; Gaussian Naive Bayes estimates a mean and variance for each feature within each class. These models differ in their likelihood assumptions and should be selected to match the data representation.
Multinomial Naive Bayes models discrete counts such as word counts.
Bernoulli Naive Bayes models binary feature presence or absence.
Gaussian Naive Bayes models continuous features with class-conditional normal distributions.
A lightweight baseline can be compared with other classifiers on held-out task data.
Use Naive Bayes as a lightweight baseline when its assumptions and computational profile fit the problem. Compare it with alternatives on held-out data; performance depends on the dataset, features and metric.
Newsletter zdarma
Tři ověřené příběhy ze světa AI každý všední den ráno, psané srozumitelnou angličtinou. Navždy zdarma, bez reklam.
Jeden e-mail každý všední den. Odhlásit se můžete jedním kliknutím. Vaši adresu nikdy neprodáváme ani nesdílíme.
Otestujte se
Okamžitá zpětná vazba ke každé odpovědi a sdílitelný certifikát s ověřitelným ID po absolvování kurzu.
Podpořte bezplatnou AI vzdělávání. AI Understanding je nezisková organizace 501(c)(3) — žádné reklamy, žádná platba za přístup, nikdy. Darujte
Naive Bayes is a probabilistic classifier based on Bayes’ theorem with a conditional-independence assumption for features given a class. Its variants use different likelihood models for different feature types.
Model předpokládá, že každý prvek nezávisle přispívá k výsledku dané třídy, což umožňuje násobit pravděpodobnosti jednotlivých prvků.
Využívá Bayesův teorém k převodu pravděpodobností předchozí třídy a pravděpodobnosti rysů na pozdější pravděpodobnost pro každou třídu.
Násobení mnoha pravděpodobností pod 1 může podtéci k nule, takže logování a sčítání udržuje matematiku stabilní.
Bez vyhlazování dává slovo, které se u třídy nikdy nevidělo, této třídě nulovou pravděpodobnost; dodatečné počty se tomu vyhýbají.
Multinomial Naive Bayes modeluje diskrétní počty, například kolikrát se každé slovo objeví, což z něj dělá standard pro text.
Učte se dál
Pro toto téma bylo vybráno více průvodců
DalšíDalší průvodce
Dekódování minimálního Bayesova rizika
Jazyk AI