Radial Basis Network with 'purelin'

12 views (last 30 days)
Sara
Sara on 9 Feb 2012
Hi,
I'm trying to create a radial basis network changing the transfer function from 'radbas' to 'purelin'.
I'm feeling pretty lost with the matlab documentation. For now, the only thing a found out was that I had to change net.layers{1}.transferFcn = 'purelin';
When I train the network, the error is almost 0, but when I call sim with the same data, the result is completely different.
Any thoughts on what I'm doing wrong? Do I have to change anything else?
Thanks!

Accepted Answer

Greg Heath
Greg Heath on 21 Aug 2013
If you change the hidden layer transfer to function purelin, the net is just a linear model and can be replaced by the backslash operation.

More Answers (1)

Sara
Sara on 9 Feb 2012
I found the solution. I had to change all the calls to radbas inside function designrb, which is in newrb.m.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!