LFD Book Forum Equation 4.13 calculating y_hat_n

#1
11-05-2014, 09:49 AM
 cbmachine Junior Member Join Date: Sep 2014 Posts: 3
Equation 4.13 calculating y_hat_n

I am a bit confused about calculating the value for y_hat_n. To calculate this value should I calculate w_reg(lamda_N-1) for N-1 data points and then calculate y_hat_n using X(n)*w_reg(lamda_N-1). Or should it be calculated using w_reg(lamda_N) i.e. w_reg calculated over all N points?

Any input will be highly appreciated
#2
11-05-2014, 06:31 PM
 magdon RPI Join Date: Aug 2009 Location: Troy, NY, USA. Posts: 595
Re: Equation 4.13 calculating y_hat_n

You use w_reg(lamda_N). y_hat_n is your prediction on data point n after learning on all the data.

Quote:
 Originally Posted by cbmachine I am a bit confused about calculating the value for y_hat_n. To calculate this value should I calculate w_reg(lamda_N-1) for N-1 data points and then calculate y_hat_n using X(n)*w_reg(lamda_N-1). Or should it be calculated using w_reg(lamda_N) i.e. w_reg calculated over all N points? Any input will be highly appreciated
__________________
Have faith in probability
#3
11-06-2014, 12:51 PM
 cbmachine Junior Member Join Date: Sep 2014 Posts: 3
Re: Equation 4.13 calculating y_hat_n

 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 02:19 PM.