LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > The Final

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2012, 08:40 AM
Andrs Andrs is offline
Member
 
Join Date: Jul 2012
Posts: 47
Default Question about cluster centers RBF basic

During the training phase, the w parameters (w0,w1,w2...wn)are calculated using the training data (as well as the corresponding cluster centers and distance to the training_x points).
During the test phase, new fresh data is generated. In order to get the E_out for RBF basic, we use the w-parameters that were "learned" during the training phase.
During the test phase, we have also generate a new "fi-transform" that contains the distance between the cluster centers and the new x_test points. Do we calculate new cluster centers with the test data (we have all info to calculate new cluster centers with the test data)? Or do we re-use the cluster centers (muk) calculated during the training???? I tried both and I can see some very definite diffs in the results...but I am wondering if the cluster centers defined with training data are representative in the test....
Reply With Quote
  #2  
Old 09-12-2012, 08:48 AM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Question about cluster centers RBF basic

Quote:
Originally Posted by Andrs View Post
Do we calculate new cluster centers with the test data? Or do we re-use the cluster centers (muk) calculated during the training???? The cluster centers defined during training may not be representative for the test data...or?
You use the cluster centers calculated during training. All parameters are estimated in sample, and whether or not they work on the test data is the usual question of generalization.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #3  
Old 09-12-2012, 09:08 AM
JohnH JohnH is offline
Member
 
Join Date: Jul 2012
Posts: 43
Default Re: Question about cluster centers RBF basic

The cluster centers and weights (\mu and w, respectively), along with the RBF, comprise the learned function. Once learning is complete, \mu and w are fixed. E_{out} is part of a measure of the the quality of the learned function: it supports claims that the learned function is PAC (Probably Approximately Correct, in other words, it is a good generalization).
Reply With Quote
  #4  
Old 09-12-2012, 09:14 AM
Andrs Andrs is offline
Member
 
Join Date: Jul 2012
Posts: 47
Default Re: Question about cluster centers RBF basic

Thanks, the answer matches also more reasonable results!
Reply With Quote
Reply

Tags
cluster

Thread Tools
Display Modes

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 Jump


All times are GMT -7. The time now is 08:43 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
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.