Thread: Q4) h(x) = ax
View Single Post
  #14  
Old 02-03-2013, 02:53 PM
Axonymous Axonymous is offline
Junior Member
 
Join Date: May 2012
Posts: 7
Default Re: Q4) h(x) = ax

I wanted confirmation of the result that I got using the method we are supposed to implement. So I derived the slope of the "best" line, shown to us in slide 11 of lecture 8. (Which also applies in our case because it goes through the origin.) I did this by minimizing the area in yellow on that slide. (You can actually see that slope is close to 1 from the slide.)

I was surprised that the answer I got for question 4 is so different from this "perfect" approximation line that was found by minimizing the integral. It stands to reason that it should vary a little, but there is quite a difference between the two values.
Reply With Quote