Borrar filtros
Borrar filtros

How to solve the error Network "trainFcn" is undefined.?

5 visualizaciones (últimos 30 días)
Minu
Minu el 24 de Mayo de 2013
Comentada: 5fingers el 20 de Oct. de 2016
Hi
When i have use adapt in rbf network i have got an error "Network "trainFcn is undefined ". I have saved the existing trained rbf network.I have load this network and then apply adapt function.This is the code i have written
[x]=featurevector1; [t]=targetvector1; load('net.mat','net'); [net,y] = adapt(net,x,t)
How we can define the train function.Could anybody help me to solve this error..
  1 comentario
5fingers
5fingers el 20 de Oct. de 2016
Hi, you can define function like this:
net = newrb(X,T,GOAL,SPREAD,MN,DF);
net.trainFcn = 'trainlm';

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by