Thread: Hw4 q4
View Single Post
  #7  
Old 04-30-2012, 10:30 AM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Hw4 q4

Quote:
Originally Posted by Tyler View Post
I can't help with that but I have a more basic question. To get ax on two points, do we take the "a" based on the average of the two points

(y1+y2)/(x1+x2)
-or-

calculate "a" on each point and take the average?
1/2 (y1/x1 + y2/x2)
Choose the value of a that minimizes the average mean-squared error on the two points.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote