DOC PREVIEW
CMU CS 10701 - Neural Networks

This preview shows page 1-2-3-4 out of 11 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11Neural Networks10701/15781 RecitationFebruary 12, 2008Parts of the slides are from previous years’ 10701 recitation and lecture notes, and from Prof. Andrew Moore’s data mining tutorials.Recall Linear RegressionPrediction of continuous variablesLearn the mapping f: X  YModel is linear in the parameters w (+ some noise)Assume Gaussian noiseLearn MLE w =))(or()(iiiiiixwxwxf)()(1YXXXTT Neural NetworkNeural nets are also models with w parameters in them. They are now called weights.As before, we want to compute the weights to minimize sum-of-squared residualsWhich turns out, under “Gaussian i.i.d noise” assumption to be max. likelihood.Instead of explicitly solving for max. likelihood weights, we use Gradient DescentInput x=(x1,…, xn) and target value t:or Given training data {(x(l),t(l))}, find w which minimizes Perceptrons)()(Output10niiixwwfo x)(:11)(,where)())(exp(11)(1010sigmoidenetxwwnetnetxwwonetniiiniiixLlllxotE12)()())((21otherwise0if11)()(e.g.netnetsigno xGradient descentGeneral framework for finding a minimum of a continuous (differentiable) function f(w)Start with some initial value w(1) and compute the gradient vector The next value w(2) is obtained by moving some distance from w(1) in the direction of steepest descent, i.e., along the negative of the gradient)()1(wf)()()()()1( kkkkf www Gradient Descent on a PerceptronThe sigmoid perceptron update rule lllljnjjlljlLllljjtxwxww),(where)1()(0)(1Boolean Functionse.g using step activation function with threshold 0, can we learn the functionX1 AND X2?X2 OR X2?X2 AND NOT X2?X2 XOR X2?Multilayer NetworksThe class of functions representable by perceptron is limitedThink of nonlinear functions:))(()(iijijjxwfWhxoA 1-Hidden layer NetNinput=2, Nhidden=3, Noutput=1BackpropagationHW2 – Problem 2Output in k-th output unit from input xWith bias: add a constant term for every non-input unit Learn w to minimize ))(()(iijijkjkxwfWfo xKkkkotE12))((21xBackpropagationInitialize all weights Do until convergence1. Input a training example to the network and compute the output ok2. Update each hidden-to-output weight wkj by3. Update each input-to-hidden weight wji byjynetfotywwjkkkkjkkjkjunithiddenfromoutput:,)(')(where


View Full Document

CMU CS 10701 - Neural Networks

Documents in this Course
lecture

lecture

12 pages

lecture

lecture

17 pages

HMMs

HMMs

40 pages

lecture

lecture

15 pages

lecture

lecture

20 pages

Notes

Notes

10 pages

Notes

Notes

15 pages

Lecture

Lecture

22 pages

Lecture

Lecture

13 pages

Lecture

Lecture

24 pages

Lecture9

Lecture9

38 pages

lecture

lecture

26 pages

lecture

lecture

13 pages

Lecture

Lecture

5 pages

lecture

lecture

18 pages

lecture

lecture

22 pages

Boosting

Boosting

11 pages

lecture

lecture

16 pages

lecture

lecture

20 pages

Lecture

Lecture

20 pages

Lecture

Lecture

39 pages

Lecture

Lecture

14 pages

Lecture

Lecture

18 pages

Lecture

Lecture

13 pages

Exam

Exam

10 pages

Lecture

Lecture

27 pages

Lecture

Lecture

15 pages

Lecture

Lecture

24 pages

Lecture

Lecture

16 pages

Lecture

Lecture

23 pages

Lecture6

Lecture6

28 pages

Notes

Notes

34 pages

lecture

lecture

15 pages

Midterm

Midterm

11 pages

lecture

lecture

11 pages

lecture

lecture

23 pages

Boosting

Boosting

35 pages

Lecture

Lecture

49 pages

Lecture

Lecture

22 pages

Lecture

Lecture

16 pages

Lecture

Lecture

18 pages

Lecture

Lecture

35 pages

lecture

lecture

22 pages

lecture

lecture

24 pages

Midterm

Midterm

17 pages

exam

exam

15 pages

Lecture12

Lecture12

32 pages

lecture

lecture

19 pages

Lecture

Lecture

32 pages

boosting

boosting

11 pages

pca-mdps

pca-mdps

56 pages

bns

bns

45 pages

mdps

mdps

42 pages

svms

svms

10 pages

Notes

Notes

12 pages

lecture

lecture

42 pages

lecture

lecture

29 pages

lecture

lecture

15 pages

Lecture

Lecture

12 pages

Lecture

Lecture

24 pages

Lecture

Lecture

22 pages

Midterm

Midterm

5 pages

mdps-rl

mdps-rl

26 pages

Load more
Download Neural Networks
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Neural Networks and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Neural Networks 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?