Radial Basis Network with 'purelin'

12 ビュー (過去 30 日間)
Sara
Sara 2012 年 2 月 9 日
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!

採用された回答

Greg Heath
Greg Heath 2013 年 8 月 21 日
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.

その他の回答 (1 件)

Sara
Sara 2012 年 2 月 9 日
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!

Translated by