Artificial Neural network training
6 views (last 30 days)
Show older comments
I run a program for NN training using PSO. When i run the progrm, i got an error. kindly check the error and pls tell how to correct it.\
program:
clc; close all; clear all; Tr_in=(xlsread('CNSCTTrainGLCM.xls'))'; Tr_ta=(xlsread('CNSCTTrainTarget.xls'))';
load livnet;
Te_in=(xlsread('CNSCTTestGLCM.xls'))';
Y = sim(livnet,Te_in);
plotconfusion(Tr_ta,Y);
where livnet is the m.file for pso parameters
the error shown is:
> In mainlever1 at 7 Warning: An error occurred when running a class's loadobj method. The object that was loaded from the MAT-file was a copy of the object before the loadobj method was run. The rest of the variables were also loaded from the MAT-file. The encountered error was: Error using ==> trainpso at 124 Unrecognized code.
*> In mainlever1 at 7 ??? Error using ==> mainlever1 at 9 'model' parameter must be a string *
0 Comments
Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!