Learning theory Experience risk minimization--andrew ng machine Learning notes (vii)

Source: Internet
Author: User
Tags andrew ng machine learning
Content Summary

To now supervised learning has basically finished, this blog is mainly to write about the theory of machine learning, that is, when to use what learning algorithm, what kind of learning algorithms have what characteristics or advantages. At the time of fitting, how to choose the fitting model is actually a tradeoff between under-fitting and over-fitting, the size of our training set is appropriate, the final result of the fitting function, how to evaluate the effect, and so on, the following we mainly introduce the empirical risk minimization theory, is to answer these questions. Minimum Experience Risk

To illustrate the minimum risk of experience, we first introduce two theorems: (the Union bound) assume a1,a2 ... Ak A_1,a_2...a_k is a K K different event, then P (A1∪a2∪ ... ∪ak ≤p (A1) +p (A2) +...+p (Ak) p (a_1 \cup a_2 \cup ... \cup a_k) \leq P (a_1) +p (a_2) +...+p (a_k). You can draw a venturi chart to understand him. (hoeffding inequality) assume z1,z2 ... Zm Z_1,z_2...z_m is a variable of m m independent distribution (IID) subject to Bernoulli distribution, with a parameter of Φ\phi. That is, p (zi=1) =ϕ,p (zi=0) =1−ϕp (z_i = 1) = \phi,p (z_i = 0) = 1-\phi, so ϕ^= (1/m) ∑mi=1zi \hat \phi = (1/m) \sum_{i = 1}^{m}z_i,ϕ ^ \hat \phi is also a random variable, for any γ>0 \gamma \gt 0, there is P (|ϕ−ϕ^|>γ) ≤2exp (−2

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.