Simple understanding naive Bayes theorem means that among the various features are completely unrelated, the actual situation is not so, this is the plain meaning of

Step 0: Introduction Naive Bayes Theorem

Bayes' theorem is one of the earliest probabilistic inference algorithm, proposed by the Reverend Bayes (his reasoning for the existence of God), in some use cases of the theorem is still useful.

It is best to explain the theorem is through an example. Suppose you are a Secret Service personnel, you received a mandate, it is necessary to protect his / her safety in a particular campaign speech in the Republican presidential candidate. This is a campaign speech that everyone can participate in public activities, your task is not simple, we need to keep in mind the danger exists. One way is for everyone to set a threat factor, according to human characteristics (such as age, sex, carry bag and tension, and so on), you can determine whether there is a threat this person.

If a person meets all of these features, has exceeded the threshold doubts in your mind, you can take steps and the person away from the active site. Principles of Bayes' theorem is true, we will be in accordance with certain related events (someone's age, sex, with or without a package, tension, etc.) to calculate the probability of the occurrence of an event (someone threat) probability.

You also need to consider independence between these features. For example, if in the event there was a child looks very nervous, so nervous compared with adults, children possibility of threat will be lower. To better explain this, look at the following two characteristics: age and stress levels. Suppose we study these features alone, we can design all of a nervous person regarded as a potential threat to people's model. However, it is likely there will be many false positive cases, because the scene of a minor is likely to be nervous. Therefore, taking into account age and "tension" feature will certainly be more accurate reflection of who threats.

This is the meaning of the word of the theorem "simple", this theorem will consider each feature remain independent from each other, but in reality is not always so, and therefore will affect the final conclusion.

In short, Bayesian according to some other event (in this case the information is classified as spam) joint probability distribution is calculated for an event (in this case the information is spam) probability of occurrence. Later we will understand the principles of Bayes' theorem, but at first understand our data to be processed.

https://classroom.udacity.com/nanodegrees/nd009-cn-advanced/parts/fca6f374-bc99-407c-b27d-67b88db15bd3/modules/9405feeb-2fff-4095-b5a0-c6c1baf1ca45/lessons/b8b88c18-f4d0-4638-90f2-17ee0e57eb16/concepts/a7a081bb-0df1-4cde-be87-ca32d605b6d3

Published 133 original articles · won praise 85 · Views 1.62 million +

Guess you like

Origin blog.csdn.net/studyvcmfc/article/details/105033904