 LFD Book Forum About the Problem 3.17b
 User Name Remember Me? Password
 Register FAQ Calendar Mark Forums Read

 Thread Tools Display Modes
#1
 rpistu Member Join Date: Oct 2012 Posts: 10 About the Problem 3.17b

I dont quite understand the Problem 3.17b. What the meaning of minimize E1 over all possible (∆u, ∆v). Instead, I think it should minimize E(u+∆u,v+∆v), starting from the point (u,v)=(0,0). Is the optimal column vector [∆u,∆v]T is corresponding to the vt in the gradient descent algorithm (here, as the problem said, it is -∆E(u,v)), the norm ||(∆u,∆v)||=0.5 corresponding to the step size ɧ, and (u,v) corresponding to the weight vector w? Then, what the meaning of compute the optimal (∆u, ∆v)?
#2 magdon RPI Join Date: Aug 2009 Location: Troy, NY, USA. Posts: 595 Re: About the Problem 3.17b is a function of . You want to choose (the vector to move in) to minimize . The negative gradient direction is going to be the direction to move (this is shown in the chapter) and you have to rescale that so the step size is 0.5.

Quote:
 Originally Posted by rpistu I don’t quite understand the Problem 3.17b. What the meaning of minimize E1 over all possible (∆u, ∆v). Instead, I think it should minimize E(u+∆u,v+∆v), starting from the point (u,v)=(0,0). Is the optimal column vector [∆u,∆v]T is corresponding to the vt in the gradient descent algorithm (here, as the problem said, it is -∆E(u,v)), the norm ||(∆u,∆v)||=0.5 corresponding to the step size ɧ, and (u,v) corresponding to the weight vector w? Then, what the meaning of compute the optimal (∆u, ∆v)?
__________________
Have faith in probability
#3
 rpistu Member Join Date: Oct 2012 Posts: 10 Re: About the Problem 3.17b

Yes, E1 is a function of ∆u, ∆v, but it is also a function of u, v. Then, what is the u, v in this function? Still use (0, 0) as part (a) said? Also, what is the ininital value of ∆u, ∆v? In the textbook, it sets w to w(0) at step 0.

Further, does the norm ||(∆u,∆v)||=0.5 means that for each iteration we should ensure that the values of ∆u,∆v meet this resuirements? Another point is that in textbook, we need specify the step size ɧ. However, we could not see any information about the step size.

I don't quite understand the description of the question (Problem 3.17b), so I have so many questions. Could you probably clarify it for me?

Quote:
 Originally Posted by magdon  is a function of . You want to choose math]\Delta u,\Delta v[/math] (the vector to move in) to minimize . The negative gradient direction is going to be the direction to move (this is shown in the chapter) and you have to rescale that so the step size is 0.5.
#4 magdon RPI Join Date: Aug 2009 Location: Troy, NY, USA. Posts: 595 Re: About the Problem 3.17b

Yes, in this problem you can use (u,v)=(0,0) from part (a).

||(∆u,∆v)||=0.5 means that the step size .

In the chapter we considered two step sizes. First where the step size was fixed at . Second where the step size is proportional to the norm of the gradient. Here, for part (b) the step size is fixed at 0.5.

Quote:
 Originally Posted by rpistu Yes, E1 is a function of ∆u, ∆v, but it is also a function of u, v. Then, what is the u, v in this function? Still use (0, 0) as part (a) said? Also, what is the ininital value of ∆u, ∆v? In the textbook, it sets w to w(0) at step 0. Further, does the norm ||(∆u,∆v)||=0.5 means that for each iteration we should ensure that the values of ∆u,∆v meet this resuirements? Another point is that in textbook, we need specify the step size ɧ. However, we could not see any information about the step size. I don't quite understand the description of the question (Problem 3.17b), so I have so many questions. Could you probably clarify it for me?
__________________
Have faith in probability
#5
 rpistu Member Join Date: Oct 2012 Posts: 10 Re: About the Problem 3.17b

I have almost understund the problem. But still have a question that what the meaning of the resulting of E(u+∆u,v+∆v) in Part (b), (e-i), and (e-ii). Is it a number or a formula?

Also what the difference of the two parts of (e). One is to minimize E2, the other is to minimize E(u+∆u,v+∆v). So, what the difference of those two?

Quote:
 Originally Posted by magdon Yes, in this problem you can use (u,v)=(0,0) from part (a). ||(∆u,∆v)||=0.5 means that the step size . In the chapter we considered two step sizes. First where the step size was fixed at . Second where the step size is proportional to the norm of the gradient. Here, for part (b) the step size is fixed at 0.5.
#6
 luwei0917 Junior Member Join Date: Aug 2013 Posts: 3 Re: About the Problem 3.17b

I think for part b. we got Then use . Replace u with and v with we will get a numerical result.

 Thread Tools Show Printable Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General     General Discussion of Machine Learning     Free Additional Material         Dynamic e-Chapters         Dynamic e-Appendices Course Discussions     Online LFD course         General comments on the course         Homework 1         Homework 2         Homework 3         Homework 4         Homework 5         Homework 6         Homework 7         Homework 8         The Final         Create New Homework Problems Book Feedback - Learning From Data     General comments on the book     Chapter 1 - The Learning Problem     Chapter 2 - Training versus Testing     Chapter 3 - The Linear Model     Chapter 4 - Overfitting     Chapter 5 - Three Learning Principles     e-Chapter 6 - Similarity Based Methods     e-Chapter 7 - Neural Networks     e-Chapter 8 - Support Vector Machines     e-Chapter 9 - Learning Aides     Appendix and Notation     e-Appendices

All times are GMT -7. The time now is 03:48 PM.

 Contact Us - LFD Book - Top The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.