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!

 채택된 답변

Greg Heath
Greg Heath 2013년 8월 21일

0 개 추천

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일

0 개 추천

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

질문:

2012년 2월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by