0% found this document useful (0 votes)
168 views13 pages

Tutorial 4

This document summarizes a tutorial on using the Neural Network Toolbox in Matlab. It outlines the basic workflow which includes creating a network structure using commands like newlin, newp, and newff. Then training the network using commands like train or adapt. Finally, simulating the network using the sim command. It provides details on different options for network structure, learning functions, and performance functions. An example of rewriting the XOR problem is also presented.

Uploaded by

Faten Clubistia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views13 pages

Tutorial 4

This document summarizes a tutorial on using the Neural Network Toolbox in Matlab. It outlines the basic workflow which includes creating a network structure using commands like newlin, newp, and newff. Then training the network using commands like train or adapt. Finally, simulating the network using the sim command. It provides details on different options for network structure, learning functions, and performance functions. An example of rewriting the XOR problem is also presented.

Uploaded by

Faten Clubistia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

University of Toronto (Mississauga Campus)

CSC411- Machine Learning and Data Mining

Neural Network Toolbox in Matlab

Tutorial 4 Feb 9th, 2007


Basic Neural Network Toolbox Flow Diagram

Network Structure Creation


Matlab Command: newlin, newp, newff

Training the Network


Matlab Command: train or adapt

Simulation
Matlab Command: sim
Neural Network Structure newlin, newp, and newff
Neural Network Structure newlin, newp, and newff
Neural Network Structure newlin, newp, and newff
Neural Network Structure newlin, newp, and newff

Spee
d Slow

Fast

trainlm trainbfgtrainrp

e m ory Less
M

More
Neural Network Structure newlin, newp, and newff

Learning Function: learnp or learnpn


If input vectors have a large variance in their lengths, the learnpn
can be faster than learnp

Performance Function: mse or mae

mse: Mean squared error performance function

mae: Mean absolute error performance function


Basic Neural Network Toolbox Flow Diagram

Network Structure Creation


Matlab Command: newlin, newp, newff

Training the Network


Matlab Command: train or adapt

Simulation
Matlab Command: sim
Neural Network Training: adapt and train
Basic Neural Network Toolbox Flow Diagram

Network Structure Creation


Matlab Command: newlin, newp, newff

Training the Network


Matlab Command: train or adapt

Simulation
Matlab Command: sim
Neural Network Simulation: sim
Example Rewrite XOR Problem

Network Structure Creation


Matlab Command: newlin, newp, newff

Training the Network


Matlab Command: train or adapt

Simulation
Matlab Command: sim
References:

Matlab Help Desk: http://www-ccs.ucsd.edu/matlab/helpdesk.html


Neural Network Toolbox in Matlab 2006:
http://www.control.hut.fi/Kurssit/AS-74.3115 /Materiaali /Material2007/ Neural_
Network_Toolbox_Slides.pdf
Neural Network Toolbox: A tutorial for the Course Computational
Intelligence: http://www.igi.tugraz.at/lehre/EW/tutorials/nnt_intro/nnt_intro.pdf

You might also like