Command Palette
Search for a command to run...
Naive Bayes
Date
Naive Bayesian properties
Application scenarios and practices
The idea of naive Bayes
- Let $latex {x\text{ }=\text{ }{ \left\{ {a\mathop{{}}\nolimits_{{1}},\text{ }a\mathop{{}}\nolimits_{{2}},\text{ }…,\text{ }a\mathop{{}}\nolimits_{{m}}} \right\} }}$ be an item to be classified, and each $latex {a}$ is a characteristic attribute of $latex {x}$;
- The categories to be classified are the set $latex {C\text{ }=\text{ }{ \left\{ {y\mathop{{}}\nolimits_{{1}},\text{ }y\mathop{{}}\nolimits_{{2}},\text{ }…,\text{ }y\mathop{{}}\nolimits_{{n}}} \right\} }}$ ;
- Calculate the probability that $latex {x}$ belongs to $latex {y\mathop{{}}\nolimits_{{k}}}$: $latex {P{ \left( {y\mathop{{}}\nolimits_{{1}} \left| x\right. } \right) },\text{ }P{ \left( {y\mathop{{}}\nolimits_{{2}} \left| x\right. } \right) },\text{ }…,\text{ }P{ \left( {y\mathop{{}}\nolimits_{{n}} \left|
- If $latex {P{ \left( {y\mathop{{}}\nolimits_{{k}} \left| {y\mathop{{}}\nolimits_{{2}} \left| is classified under $latex {y\mathop{{}}\nolimits_{{k}}}$.
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.