![]() |
#1
|
|||
|
|||
![]()
For Q15, I coded to find the K centers for the RBF. Then use pseudo-inverse to find the
![]() ![]() But, when I try it for all 100 points, all calculated b are different. Am I mis-understand something ? Or simply my program bug ? I read through all posts in the forum but cannot figure out any hints. Further, from "on the right track" post, I used the 4 points sample to test my code, I can find those centres and clusters and phi, but cannot match the weights. Without proper b, I cannot carry on the simulation for the remaining quiz. |
#2
|
|||
|
|||
![]()
b should be found along with the other weight vectors - using pseudo inverse.
This will be similar to how we did in linear regression. Add a column in the phi matrix with all 1's - and if you solve for w, you will get b. |
#3
|
||||
|
||||
![]() Quote:
http://book.caltech.edu/bookforum/sh...40&postcount=7
__________________
Where everyone thinks alike, no one thinks very much |
#4
|
|||
|
|||
![]()
Thank you very much bargava and professor. Now I understand what is going on. Many thanks !
|
![]() |
Thread Tools | |
Display Modes | |
|
|