MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Using weights of a trained neural network 

Subject: Using weights of a trained neural network From: Vito Date: 20 Mar, 2013 17:10:19 Message: 1 of 6 
I trained a neural network using the MATLAB Neural Network Toolbox, and in particular using the command nprtool. After that, I exported a structure (called 'net') containing the informations about the NN generated. 
Subject: Using weights of a trained neural network From: Greg Heath Date: 21 Mar, 2013 06:28:06 Message: 2 of 6 
"Vito" wrote in message <kicqhr$spo$1@newscl01ah.mathworks.com>... 
Subject: Using weights of a trained neural network From: Vito Date: 21 Mar, 2013 11:17:18 Message: 3 of 6 
"Greg Heath" <heath@alumni.brown.edu> wrote in message <kie99m$ega$1@newscl01ah.mathworks.com>... 
Subject: Using weights of a trained neural network From: Greg Heath Date: 21 Mar, 2013 20:09:06 Message: 4 of 6 
"Vito" wrote in message <kieq7u$svk$1@newscl01ah.mathworks.com>... 
Subject: Using weights of a trained neural network From: James Date: 18 Dec, 2013 23:20:17 Message: 5 of 6 
This problem is nagging me as well. I can only get this to work if I turn off the pre and post processing entirely. I've tried adding mapminmax() to my own feedforward calculation, but I was not able to replicate MATLAB's calculations. I would love to know. I need the hidden node values, and the only way to get those is to do so manuallyie no built in method in the net object. And, as a sanity check, it would be nice if I could match predictions with the processing functions turned on. 
Subject: Using weights of a trained neural network From: Greg Heath Date: 19 Dec, 2013 02:07:06 Message: 6 of 6 
"James" wrote in message <l8tajh$cnf$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.