Why is fitnet(10) not working ?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
jan alberts
el 26 de En. de 2015
Editada: Walter Roberson
el 11 de Sept. de 2016
Hi,
I have some troubles using the neural network toolbox for my internship at BASF. I am using a Matlab distribution licensed for BASF - no student license. The neural network toolbox is included. When I use the fitnet function (e.g. fitnet(10)) I receive the following error:
"Undefined function or variable 'network'.
Error in feedforwardnet>create_network (line 101) net = network;
Error in feedforwardnet (line 69) net = create_network(param);
Error in fitnet>create_network (line 98) net = feedforwardnet(param.hiddenSizes,param.trainFcn);
Error in fitnet (line 70) net = create_network(param);"
I already deleted some shadow mse:
">> which -all mse C:\Program Files\MATLAB\R2013b\toolbox\nnet\nnet\nnperformance\mse.m"
The version of the toolbox is recent, so no need to update.
But the problem is still there. Could you help me about that ?
Best regards, Jan
Respuesta aceptada
Andreas Goser
el 28 de En. de 2015
fitnet(10)
is enough of example code for a start. Please check licensing and installation first:
license('test', 'neural_network_toolbox')
Should return:
ans =
1
And the result of the "ver" command should have a line like this:
Neural Network Toolbox Version 8.2.1 (R2014b)
1 comentario
Dhandapani.S
el 11 de Sept. de 2016
Editada: Walter Roberson
el 11 de Sept. de 2016
license shows 1.
the ver shows 8.0 R2012b.
but when i type fitnet(10) i get the following error
Error using feval
Undefined function 'initlay' for input arguments of type 'struct'.
Error in nn_configure_bias (line 13)
net = feval(net.initFcn,'initialize',net,'b',i);
Error in network/subsasgn>setBiasConnect (line 771)
net = nn_configure_bias(net,i);
Error in network/subsasgn>network_subsasgn (line 59)
if isempty(err), [net,err]=setBiasConnect(net,biasConnect); end
Error in network/subsasgn (line 13)
net = network_subsasgn(net,subscripts,v,netname);
Error in feedforwardnet>create_network (line 104)
net.biasConnect = true(Nl,1);
Error in feedforwardnet (line 69)
net = create_network(param);
Error in fitnet>create_network (line 98)
net = feedforwardnet(param.hiddenSizes,param.trainFcn);
Error in fitnet (line 70)
net = create_network(param);
please help
Más respuestas (1)
jan alberts
el 28 de En. de 2015
2 comentarios
Andreas Goser
el 28 de En. de 2015
Then it is installed, but not licensed. Can be a couple of reasons. Like a trial, but it was not purchased. Or a larger network license where IT installed all the same on all machines, but some products are only available for one department.
You can send me a PN with your license number and I will help you with that.
Ver también
Categorías
Más información sobre Modeling and Prediction with NARX and Time-Delay Networks en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!