View Single Post
  #16  
Old 03-18-2013, 07:21 AM
melipone melipone is offline
Senior Member
 
Join Date: Jan 2013
Posts: 72
Default Re: on the right track?

Geez, I don't get the same weights! I do get Ein=0 though. Could you post your phi matrix so that I can locate my error? thanks.

Quote:
Originally Posted by Sendai View Post
Since probably most of us are writing our own regular RBF implementations by hand, I thought it would be helpful to compare the results of a couple simple test cases to make sure our implmentations are correct.

data set = (0, 0) (0, 1) (1, 0) (1, 1)
labels = 1 -1 -1 1
centers = (0, 0.2) (1, 0.7)

Case 1:
\gamma=1
E_{in} = 0
weights = (-7.848, 7.397, 7.823)
(first weight is the bias)

Case 2:
\gamma=100
E_{in} = 0
weights = (-1.0, 109.196, 16206.168)
Reply With Quote