LFD Book Forum Homework1 Q4 and Q5 - Please show workings
 Register FAQ Calendar Mark Forums Read

#1
10-10-2013, 05:56 AM
 11lara11 Junior Member Join Date: Oct 2013 Posts: 1
Homework1 Q4 and Q5 - Please show workings

I have attempted Q4 using the following:
The epsilon here is close to 0.55 becasue v=0 and u=0.55. The N=10.

P[|v-u|>0.55] < 2e^-2(0.55^2)10
................... < 0.00471

but the solution options don't come anywhere close to this. What am I doing wrong? I think I am making a similar mistake in Q5 becasue I get 4.715 for that becasue it is simply the solution above *1000 becasue M=1000.
#2
10-10-2013, 11:49 AM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,478
Re: Homework1 Q4 and Q5 - Please show workings

Quote:
 Originally Posted by 11lara11 I have attempted Q4 using the following: The epsilon here is close to 0.55 becasue v=0 and u=0.55. The N=10. P[|v-u|>0.55] < 2e^-2(0.55^2)10 ................... < 0.00471 but the solution options don't come anywhere close to this. What am I doing wrong? I think I am making a similar mistake in Q5 becasue I get 4.715 for that becasue it is simply the solution above *1000 becasue M=1000.
The course is currently is session at edX, and there are active discussions in their forum there, so you may want to take a look.
__________________
Where everyone thinks alike, no one thinks very much
#3
06-09-2015, 05:40 AM
 iamds Junior Member Join Date: Jun 2015 Posts: 2
Re: Homework1 Q4 and Q5 - Please show workings

I am also having this problem in the question , please help whats been done wrong in this .
Thank you u
#4
06-19-2015, 01:31 AM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,478
Re: Homework1 Q4 and Q5 - Please show workings

The problems ask for the probability, not a bound (Hoeffding or otherwise) on the probability. Try using independence to calculate the probability exactly. If you get Problem 4 right, it is fairly straightforward to get Problem 5, too using simple rules of combining probabilities of events.
__________________
Where everyone thinks alike, no one thinks very much

 Tags hoeffding's inequality, homework 1, question 4

 Thread Tools Display Modes Linear 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 08:01 PM.