Review machine learning algorithms: Bayesian classifier

Source: Internet
Author: User

Naive Bayesian algorithm is to look for a great posteriori hypothesis (MAP), which is the maximum posteriori probability of the candidate hypothesis.

As follows:

In Naive Bayes classifiers, it is assumed that the sample features are independent from one another:


Calculate the posterior probability of each hypothesis and choose the maximum probability, and the corresponding category is the result of the sample classification.

Advantages and Disadvantages

Very good for small-scale data, suitable for multi-classification tasks, suitable for incremental training. At that time, it was necessary to have a high degree of independence between the characteristics of samples and not too much correlation. is sensitive to the form of input data expression.

Also, when a feature in a sample has a number of 0 occurrences in that category, that is, p (ai |vj) = 0, the numerator of the upper formula is all 0. This time requires the use of M-Estimator and Bayesian binding, as follows:

Review machine learning algorithms: Bayesian classifier

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.