Coursera Wunda Machine Learning Course Summary notes and work Code-5th week neural network continued

Source: Internet
Author: User
Neural networks:learning

Last week's course learned the neural network forward propagation algorithm, this week's course mainly lies in the neural network reverse renewal process. 1.1 Cost function

Let's recall the value function of logistic regression.
J (θ) =1m[∑mi=1y (i) log (hθ (x (i)) + (1−y (i)) log (1−hθ (x (i)))]+λ2m∑nj=1θ2j J (\theta) = \frac{1}{m}[\sum_{i=1}^{m}y^{(i)} Log (H_\theta (x^{(i))) + (1-y^{(i)}) log (1-h_\theta (x^{(i)})) + \frac{\lambda}{2m}\sum_{j=1}^{n}\theta_j^2

In the neural network
hθ (x) Εrk H_\theta (x) \epsilon r^k (hθ (x)) I=ithoutput (H_\theta (x)) _i = I^{th}output
J (θ) =−1m[∑mi=1∑kk=1y (i) Klog (hθ (x

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.