Relive naive Bayes

Source: Internet
Author: User

Today, through Starford machine learning courseware, the next Naive Bayes algorithm is reviewed, and several key points of knowledge are recorded as follows:

The derivation process of 1.Naive Bayes formula

2. Calculation of classification accuracy rate

(1) Harmonic average (harmonic mean)

The harmonic mean is calculated by calculating the average velocity at the same distance but not at the same speed, for example, a distance of 60 km/h and a second half speed of 30 km (two distances equal), the average speed is 40 km/h of the harmonic average speed. Or calculate the average resistance of two shunt resistors.

(2) Laplace Smoothing for Naive Bayes

(3) The classification accuracy rate is f-measure. Its essence is the harmonic average.

Above.

Relive naive Bayes

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.