Radial Basis Network with 'purelin'

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!

 Risposta accettata

Greg Heath
Greg Heath il 21 Ago 2013

0 voti

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.

Più risposte (1)

Sara
Sara il 9 Feb 2012

0 voti

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

Categorie

Scopri di più su Historical Contests in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by