SlideShare a Scribd company logo
GROUP N0.-7
Rangpal
Prabhat srivastava
Vineet Kumar
Suyash pandey
Vibhav Yadav
NEURAL NETWORK TOOLBOX
GROUP-7
RANGPAL
VINEET KUMAR
PRABHAT SRIVASTAV
SUYASH PANDEY
VIBHAV YADAV
IET LUCKNOW (AKTU)
U. P. 226021
 Artificial neural networks (ANNs) or connectionist
systems are computing systems vaguely inspired by
the biological neural networks that constitute animal
brains.
 Such systems "learn" (i.e. progressively improve
performance on) tasks by considering examples,
generally without task-specific programming. For
example, in image recognition, they might learn to
identify images that contain cats by analyzing example
images that have been manually labeled as "cat" or "no
cat" and using the results to identify cats in other
images. They do this without any a priori knowledge
about cats, e.g., that they have fur, tails, whiskers and
cat-like faces. Instead, they evolve their own set of
relevant characteristics from the learning material that
they process.
Neural Network Toolbox provides algorithms,
pretrained models, and apps to create, train,
visualize, and simulate both shallow and deep neural
networks. You can perform classification, regression,
clustering, dimensionality reduction, time-series
forecasting, and dynamic system modeling and
control.
Basically, there are 3 different layers in a neural
network :-
 Input Layer (All the inputs are fed in the model
through this layer)
 Hidden Layers (There can be more than one
hidden layers which are used for processing the
inputs received from the input layers)
 Output Layer (The data after processing is made
available at the output layer)
 Collect data
 Create the network — Create Neural Network
Object
 Initialize the weights and biases
 Train the network — Neural Network Training
Concepts
 Validate the network
 Use the network
 1-fitting app
 2-Pattern recognition app
 3-clustering app
 4-time series app
 AEROSPACE
 AUTOMOTIVE
 BANKING
 DEFENCE
 ELECTRONICS
 ENTERTAINMENT
 FINANCIAL
 INDUSTRIAL
 INSURANCE
 MANUFACTURING
 ROBOTICS
 MEDICAL
 SECURITIES
 TELECOMMUNICATION
 FUNCTIONS
 nnstart – neural network getting started GUI
 nftool – neural network fitting tool
 net(view) – view neural network
 net.trainparam.epochs – we can choose how
 many epochs we wants
 net.trainparam.goal – maximum performance
 means we want accuracy
 net.trainparam.lr – learning rate
 net = train(net,x,y) – train network
 To define a fitting problem for the toolbox,
arrange a set of Q input vectors as columns in a
matrix. Then, arrange another set of Q target
vectors (the correct output vectors for each of
the input vectors) into a second matrix . For
example, you can define the fitting problem for
a Boolean AND gate with four sets of two-
element input vectors and one-element targets
as follows:
 inputs = [0 1 0 1; 0 0 1 1]; targets = [0 0 0 1];
 Training –these are presented to the network
dfuring training,and the network is adjusted
according to its error.
 Validation –these are use to measure network
generalization,and to halt training when
generalization stops improving.
 Testing- these are no effect on training and so
provide and independent measure of network
performance during and after training .
cluster is a group of objects that belongs to the same class. In other words, similar
objects are grouped in one cluster and dissimilar objects are grouped in another
cluster.
Clustering is the process of making a group of abstract objects into classes of
similar objects.
The notion of a "cluster" cannot be precisely defined, which is one of the reasons
why there are so many clustering algorithms
The notion of a cluster, as found by different algorithms, varies significantly in its
properties. Understanding these "cluster models" is key to understanding the
differences between the various algorithms. Typical cluster models include:
Apps
Neural Net Clustering Cluster data by training a self-organizing
maps network
Functions
nnstart Neural network getting started GUI
view View neural network
selforgmap Self-organizing map
train Train neural network
plotsomhits Plot self-organizing map sample hits
plotsomnc Plot self-organizing map neighbor connections
plotsomnd Plot self-organizing map neighbor distances
plotsomplanes Plot self-organizing map weight plane
plotsompos Plot self-organizing map weight positions
plotsomtop Plot self-organizing map topology
genFunction Generate MATLAB function for simulating neural
network
#Connectivity models: for example, hierarchical clustering
#Centroid models: for example, the k-means algorithm
#Density models: for
example, DBSCAN and OPTICS defines clusters as
connected dense regions in the data space.
#Subspace Model
#Group Model
#Graph Based Model
#Neural Model
Clusterings can be roughly distinguished as:
#Hard clustering: each object belongs to a cluster or not
#Soft clustering (also: fuzzy clustering): each object belongs
to each cluster to a certain degree (for example, a likelihood
of belonging to the cluster)
 Biology, computational biology and
bioinformatics Ex- Transcryptomics, sequence
analysis, human genetic clustering
 Business and marketing Ex- market research,
Grouping of shopping items
 World wide web Ex- social network analysis,
search result grouping
 Computer science Ex- software evolution,
image segmentation, recommender system
 In addition to function fitting, neural networks are also good at
recognizing patterns.
 For example, suppose you want to classify a tumor as benign or
malignant, based on uniformity of cell size, clump thickness,
mitosis, etc. You have 699 example cases for which you have 9
items of data and the correct classification as benign or malignant.
 As with function fitting, there are two ways to solve this problem:
 Use the nprtool GUI, as described in Using the Neural Network
Pattern Recognition Tool.
 Use a command-line solution, as described in Using Command-
Line Functions.
 It is generally best to start with the GUI, and then to use the GUI
to automatically generate command-line scripts. Before using
either method, the first step is to define the problem by selecting a
data set. The next section describes the data format.
 To define a pattern recognition problem, arrange a set of Q
input vectors as columns in a matrix. Then arrange another
set of Q target vectors so that they indicate the classes to
which the input vectors are assigned (see"Data
Structures" for a detailed description of data formatting for
static and time-series data).
 When there are only two classes; you set each scalar target
value to either 0 or 1, indicating which class the
corresponding input belongs to. For instance, you can define
the two-class exclusive-or classification problem as follows:
 inputs = [0 1 0 1; 0 0 1 1]; targets = [1 0 0 1; 0 1 1 0];
 When inputs are to be classified into N different classes, the
target vectors have N elements. For each target vector, one
element is 1 and the others are 0. For example, the following
lines show how to define a classification problem that
divides the corners of a 5-by-5-by-5 cube into three classes:
 The origin (the first input vector) in one class
 The corner farthest from the origin (the last input vector) in
a second class
 All other points in a third class
 inputs = [0 0 0 0 5 5 5 5; 0 0 5 5 0 0 5 5; 0 5 0 5 0 5 0 5]; targets
= [1 0 0 0 0 0 0 0; 0 1 1 1 1 1 1 0; 0 0 0 0 0 0 0 1];
 Classification problems involving only two classes can be
represented using either format. The targets can consist of
either scalar 1/0 elements or two-element vectors, with one
element being 1 and the other element being 0.
 The next section shows how to train a network to recognize
patterns, using the neural network pattern recognition tool
GUI, nprtool. This example uses the cancer data set
provided with the toolbox. This data set consists of 699 nine-
element input vectors and two-element target vectors. There
are two elements in each target vector, because there are two
categories (benign or malignant) associated with each input
vector.
Time series toolbox
• What is time series?
Time series is set of data point listed over
time.
• Why time series toolbox?
It is used for dynamic modelling and
prediction problems.
open loop NARX
closed loop NARX
It perform 1 step ahead prediction It
perform multistep ahead prediction
It uses actual value of y for prediction It
uses former value of y for prediction
• Time series tool allows to solve 3 kinds of non linear
time series
Steps for writing time series code for prediction for NARX output.
(Open loop)
1) Define input and target variables
2) Create a Nonlinear autoregressive network
3) NARXNET function is used to create network
4) NARXNET require (a) InputDelay (b) FeedbackDelay (c)
HiddenlayerSize as input
5) When network got created it require data for training
6) Function PREPARETS prepares time series data and allows to
keep original time series data unchanged
7) PREPARETS uses network ,input series ,target series to preapare
data
8) We know that data prepared is used for three purpose in network
(a) 75% data for training (b)15% data for validation (c)15% data
for testing . So our next step is to divide the data for upcoming
process.
9) Then next step is to train the netwok with the help of TRAIN
function.
10) TRAIN functions uses previously prepared data for training
purpose.
Steps for writing time series code for prediction for NAR
output. (closed loop)
1) Closed loop code is not completely different from
open loop
2) Network is always created and trained in open form.
3) So first network is created and trained in open form.
4) Then network is closed using the function
CLOSEDLOOP
5) Further preparets is use to prepare the time series
data
6) Then feedbackdata and input data is updated after
delay
7) Finally performance of network is checked

More Related Content

What's hot

Back propagation
Back propagationBack propagation
Back propagation
Nagarajan
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
FellowBuddy.com
 
2.5 backpropagation
2.5 backpropagation2.5 backpropagation
2.5 backpropagation
Krish_ver2
 
Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Syed Atif Naseem
 
Branch and bound
Branch and boundBranch and bound
Branch and bound
Dr Shashikant Athawale
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
vikas dhakane
 
Principles of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksPrinciples of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksSivagowry Shathesh
 
Using prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbannUsing prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbann
swapnac12
 
Fuzzy c-means clustering for image segmentation
Fuzzy c-means  clustering for image segmentationFuzzy c-means  clustering for image segmentation
Fuzzy c-means clustering for image segmentation
Dharmesh Patel
 
Advanced data structures & algorithms important questions
Advanced data structures & algorithms important questionsAdvanced data structures & algorithms important questions
Advanced data structures & algorithms important questions
selvaraniArunkumar
 
Introduction to Clustering algorithm
Introduction to Clustering algorithmIntroduction to Clustering algorithm
Introduction to Clustering algorithm
hadifar
 
Unit 4
Unit 4Unit 4
sum of subset problem using Backtracking
sum of subset problem using Backtrackingsum of subset problem using Backtracking
sum of subset problem using Backtracking
Abhishek Singh
 
Unsupervised learning
Unsupervised learningUnsupervised learning
Unsupervised learning
amalalhait
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine Learning
VARUN KUMAR
 
Csc446: Pattern Recognition
Csc446: Pattern Recognition Csc446: Pattern Recognition
Csc446: Pattern Recognition
Mostafa G. M. Mostafa
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
Jismy .K.Jose
 
04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks
Tamer Ahmed Farrag, PhD
 

What's hot (20)

Back propagation
Back propagationBack propagation
Back propagation
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
2.5 backpropagation
2.5 backpropagation2.5 backpropagation
2.5 backpropagation
 
Statistical Pattern recognition(1)
Statistical Pattern recognition(1)Statistical Pattern recognition(1)
Statistical Pattern recognition(1)
 
Branch and bound
Branch and boundBranch and bound
Branch and bound
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 
Principles of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksPrinciples of soft computing-Associative memory networks
Principles of soft computing-Associative memory networks
 
Using prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbannUsing prior knowledge to initialize the hypothesis,kbann
Using prior knowledge to initialize the hypothesis,kbann
 
Fuzzy c-means clustering for image segmentation
Fuzzy c-means  clustering for image segmentationFuzzy c-means  clustering for image segmentation
Fuzzy c-means clustering for image segmentation
 
Advanced data structures & algorithms important questions
Advanced data structures & algorithms important questionsAdvanced data structures & algorithms important questions
Advanced data structures & algorithms important questions
 
Introduction to Clustering algorithm
Introduction to Clustering algorithmIntroduction to Clustering algorithm
Introduction to Clustering algorithm
 
Concept learning
Concept learningConcept learning
Concept learning
 
Unit 4
Unit 4Unit 4
Unit 4
 
sum of subset problem using Backtracking
sum of subset problem using Backtrackingsum of subset problem using Backtracking
sum of subset problem using Backtracking
 
Unsupervised learning
Unsupervised learningUnsupervised learning
Unsupervised learning
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine Learning
 
Fault tolerance
Fault toleranceFault tolerance
Fault tolerance
 
Csc446: Pattern Recognition
Csc446: Pattern Recognition Csc446: Pattern Recognition
Csc446: Pattern Recognition
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
 
04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks
 

Similar to # Neural network toolbox

SVM & MLP on Matlab program
 SVM & MLP on Matlab program  SVM & MLP on Matlab program
SVM & MLP on Matlab program
Hussain Ala'a Alkabi
 
Open CV Implementation of Object Recognition Using Artificial Neural Networks
Open CV Implementation of Object Recognition Using Artificial Neural NetworksOpen CV Implementation of Object Recognition Using Artificial Neural Networks
Open CV Implementation of Object Recognition Using Artificial Neural Networks
ijceronline
 
HW2-1_05.doc
HW2-1_05.docHW2-1_05.doc
HW2-1_05.docbutest
 
Machine Learning Guide maXbox Starter62
Machine Learning Guide maXbox Starter62Machine Learning Guide maXbox Starter62
Machine Learning Guide maXbox Starter62
Max Kleiner
 
Artificial Neural Network for machine learning
Artificial Neural Network for machine learningArtificial Neural Network for machine learning
Artificial Neural Network for machine learning
2303oyxxxjdeepak
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
SurajKumar579888
 
How to Build a Neural Network and Make Predictions
How to Build a Neural Network and Make PredictionsHow to Build a Neural Network and Make Predictions
How to Build a Neural Network and Make Predictions
Developer Helps
 
ANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINER
ANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINERANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINER
ANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINER
IJCSEA Journal
 
X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...
X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...
X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...
cscpconf
 
X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...
X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...
X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...
csandit
 
X trepan an extended trepan for
X trepan an extended trepan forX trepan an extended trepan for
X trepan an extended trepan for
ijaia
 
Hand Written Digit Classification
Hand Written Digit ClassificationHand Written Digit Classification
Hand Written Digit Classification
ijtsrd
 
F017533540
F017533540F017533540
F017533540
IOSR Journals
 
Human Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerDataHuman Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerData
IRJET Journal
 
Handwritten Digit Recognition using Convolutional Neural Networks
Handwritten Digit Recognition using Convolutional Neural  NetworksHandwritten Digit Recognition using Convolutional Neural  Networks
Handwritten Digit Recognition using Convolutional Neural Networks
IRJET Journal
 
House price prediction
House price predictionHouse price prediction
House price prediction
SabahBegum
 
Machine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dkuMachine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dku
Seokhyun Yoon
 
Neural Network Implementation Control Mobile Robot
Neural Network Implementation Control Mobile RobotNeural Network Implementation Control Mobile Robot
Neural Network Implementation Control Mobile Robot
IRJET Journal
 
Feed forward neural network for sine
Feed forward neural network for sineFeed forward neural network for sine
Feed forward neural network for sine
ijcsa
 

Similar to # Neural network toolbox (20)

SVM & MLP on Matlab program
 SVM & MLP on Matlab program  SVM & MLP on Matlab program
SVM & MLP on Matlab program
 
N ns 1
N ns 1N ns 1
N ns 1
 
Open CV Implementation of Object Recognition Using Artificial Neural Networks
Open CV Implementation of Object Recognition Using Artificial Neural NetworksOpen CV Implementation of Object Recognition Using Artificial Neural Networks
Open CV Implementation of Object Recognition Using Artificial Neural Networks
 
HW2-1_05.doc
HW2-1_05.docHW2-1_05.doc
HW2-1_05.doc
 
Machine Learning Guide maXbox Starter62
Machine Learning Guide maXbox Starter62Machine Learning Guide maXbox Starter62
Machine Learning Guide maXbox Starter62
 
Artificial Neural Network for machine learning
Artificial Neural Network for machine learningArtificial Neural Network for machine learning
Artificial Neural Network for machine learning
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
How to Build a Neural Network and Make Predictions
How to Build a Neural Network and Make PredictionsHow to Build a Neural Network and Make Predictions
How to Build a Neural Network and Make Predictions
 
ANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINER
ANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINERANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINER
ANALYSIS AND COMPARISON STUDY OF DATA MINING ALGORITHMS USING RAPIDMINER
 
X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...
X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...
X-TREPAN: A MULTI CLASS REGRESSION AND ADAPTED EXTRACTION OF COMPREHENSIBLE D...
 
X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...
X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...
X-TREPAN : A Multi Class Regression and Adapted Extraction of Comprehensible ...
 
X trepan an extended trepan for
X trepan an extended trepan forX trepan an extended trepan for
X trepan an extended trepan for
 
Hand Written Digit Classification
Hand Written Digit ClassificationHand Written Digit Classification
Hand Written Digit Classification
 
F017533540
F017533540F017533540
F017533540
 
Human Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerDataHuman Activity Recognition Using AccelerometerData
Human Activity Recognition Using AccelerometerData
 
Handwritten Digit Recognition using Convolutional Neural Networks
Handwritten Digit Recognition using Convolutional Neural  NetworksHandwritten Digit Recognition using Convolutional Neural  Networks
Handwritten Digit Recognition using Convolutional Neural Networks
 
House price prediction
House price predictionHouse price prediction
House price prediction
 
Machine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dkuMachine learning and_neural_network_lecture_slide_ece_dku
Machine learning and_neural_network_lecture_slide_ece_dku
 
Neural Network Implementation Control Mobile Robot
Neural Network Implementation Control Mobile RobotNeural Network Implementation Control Mobile Robot
Neural Network Implementation Control Mobile Robot
 
Feed forward neural network for sine
Feed forward neural network for sineFeed forward neural network for sine
Feed forward neural network for sine
 

Recently uploaded

Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 

Recently uploaded (20)

Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 

# Neural network toolbox

  • 1. GROUP N0.-7 Rangpal Prabhat srivastava Vineet Kumar Suyash pandey Vibhav Yadav NEURAL NETWORK TOOLBOX GROUP-7 RANGPAL VINEET KUMAR PRABHAT SRIVASTAV SUYASH PANDEY VIBHAV YADAV IET LUCKNOW (AKTU) U. P. 226021
  • 2.  Artificial neural networks (ANNs) or connectionist systems are computing systems vaguely inspired by the biological neural networks that constitute animal brains.  Such systems "learn" (i.e. progressively improve performance on) tasks by considering examples, generally without task-specific programming. For example, in image recognition, they might learn to identify images that contain cats by analyzing example images that have been manually labeled as "cat" or "no cat" and using the results to identify cats in other images. They do this without any a priori knowledge about cats, e.g., that they have fur, tails, whiskers and cat-like faces. Instead, they evolve their own set of relevant characteristics from the learning material that they process.
  • 3. Neural Network Toolbox provides algorithms, pretrained models, and apps to create, train, visualize, and simulate both shallow and deep neural networks. You can perform classification, regression, clustering, dimensionality reduction, time-series forecasting, and dynamic system modeling and control. Basically, there are 3 different layers in a neural network :-  Input Layer (All the inputs are fed in the model through this layer)  Hidden Layers (There can be more than one hidden layers which are used for processing the inputs received from the input layers)  Output Layer (The data after processing is made available at the output layer)
  • 4.
  • 5.  Collect data  Create the network — Create Neural Network Object  Initialize the weights and biases  Train the network — Neural Network Training Concepts  Validate the network  Use the network
  • 6.  1-fitting app  2-Pattern recognition app  3-clustering app  4-time series app
  • 7.  AEROSPACE  AUTOMOTIVE  BANKING  DEFENCE  ELECTRONICS  ENTERTAINMENT  FINANCIAL  INDUSTRIAL  INSURANCE  MANUFACTURING  ROBOTICS  MEDICAL  SECURITIES  TELECOMMUNICATION
  • 8.  FUNCTIONS  nnstart – neural network getting started GUI  nftool – neural network fitting tool  net(view) – view neural network  net.trainparam.epochs – we can choose how  many epochs we wants  net.trainparam.goal – maximum performance  means we want accuracy  net.trainparam.lr – learning rate  net = train(net,x,y) – train network
  • 9.  To define a fitting problem for the toolbox, arrange a set of Q input vectors as columns in a matrix. Then, arrange another set of Q target vectors (the correct output vectors for each of the input vectors) into a second matrix . For example, you can define the fitting problem for a Boolean AND gate with four sets of two- element input vectors and one-element targets as follows:  inputs = [0 1 0 1; 0 0 1 1]; targets = [0 0 0 1];
  • 10.  Training –these are presented to the network dfuring training,and the network is adjusted according to its error.  Validation –these are use to measure network generalization,and to halt training when generalization stops improving.  Testing- these are no effect on training and so provide and independent measure of network performance during and after training .
  • 11. cluster is a group of objects that belongs to the same class. In other words, similar objects are grouped in one cluster and dissimilar objects are grouped in another cluster. Clustering is the process of making a group of abstract objects into classes of similar objects. The notion of a "cluster" cannot be precisely defined, which is one of the reasons why there are so many clustering algorithms The notion of a cluster, as found by different algorithms, varies significantly in its properties. Understanding these "cluster models" is key to understanding the differences between the various algorithms. Typical cluster models include:
  • 12. Apps Neural Net Clustering Cluster data by training a self-organizing maps network Functions nnstart Neural network getting started GUI view View neural network selforgmap Self-organizing map train Train neural network plotsomhits Plot self-organizing map sample hits plotsomnc Plot self-organizing map neighbor connections plotsomnd Plot self-organizing map neighbor distances plotsomplanes Plot self-organizing map weight plane plotsompos Plot self-organizing map weight positions plotsomtop Plot self-organizing map topology genFunction Generate MATLAB function for simulating neural network
  • 13. #Connectivity models: for example, hierarchical clustering #Centroid models: for example, the k-means algorithm #Density models: for example, DBSCAN and OPTICS defines clusters as connected dense regions in the data space. #Subspace Model #Group Model #Graph Based Model #Neural Model Clusterings can be roughly distinguished as: #Hard clustering: each object belongs to a cluster or not #Soft clustering (also: fuzzy clustering): each object belongs to each cluster to a certain degree (for example, a likelihood of belonging to the cluster)
  • 14.  Biology, computational biology and bioinformatics Ex- Transcryptomics, sequence analysis, human genetic clustering  Business and marketing Ex- market research, Grouping of shopping items  World wide web Ex- social network analysis, search result grouping  Computer science Ex- software evolution, image segmentation, recommender system
  • 15.  In addition to function fitting, neural networks are also good at recognizing patterns.  For example, suppose you want to classify a tumor as benign or malignant, based on uniformity of cell size, clump thickness, mitosis, etc. You have 699 example cases for which you have 9 items of data and the correct classification as benign or malignant.  As with function fitting, there are two ways to solve this problem:  Use the nprtool GUI, as described in Using the Neural Network Pattern Recognition Tool.  Use a command-line solution, as described in Using Command- Line Functions.  It is generally best to start with the GUI, and then to use the GUI to automatically generate command-line scripts. Before using either method, the first step is to define the problem by selecting a data set. The next section describes the data format.
  • 16.  To define a pattern recognition problem, arrange a set of Q input vectors as columns in a matrix. Then arrange another set of Q target vectors so that they indicate the classes to which the input vectors are assigned (see"Data Structures" for a detailed description of data formatting for static and time-series data).  When there are only two classes; you set each scalar target value to either 0 or 1, indicating which class the corresponding input belongs to. For instance, you can define the two-class exclusive-or classification problem as follows:  inputs = [0 1 0 1; 0 0 1 1]; targets = [1 0 0 1; 0 1 1 0];  When inputs are to be classified into N different classes, the target vectors have N elements. For each target vector, one element is 1 and the others are 0. For example, the following lines show how to define a classification problem that divides the corners of a 5-by-5-by-5 cube into three classes:
  • 17.  The origin (the first input vector) in one class  The corner farthest from the origin (the last input vector) in a second class  All other points in a third class  inputs = [0 0 0 0 5 5 5 5; 0 0 5 5 0 0 5 5; 0 5 0 5 0 5 0 5]; targets = [1 0 0 0 0 0 0 0; 0 1 1 1 1 1 1 0; 0 0 0 0 0 0 0 1];  Classification problems involving only two classes can be represented using either format. The targets can consist of either scalar 1/0 elements or two-element vectors, with one element being 1 and the other element being 0.  The next section shows how to train a network to recognize patterns, using the neural network pattern recognition tool GUI, nprtool. This example uses the cancer data set provided with the toolbox. This data set consists of 699 nine- element input vectors and two-element target vectors. There are two elements in each target vector, because there are two categories (benign or malignant) associated with each input vector.
  • 18. Time series toolbox • What is time series? Time series is set of data point listed over time. • Why time series toolbox? It is used for dynamic modelling and prediction problems.
  • 19. open loop NARX closed loop NARX It perform 1 step ahead prediction It perform multistep ahead prediction It uses actual value of y for prediction It uses former value of y for prediction
  • 20. • Time series tool allows to solve 3 kinds of non linear time series
  • 21. Steps for writing time series code for prediction for NARX output. (Open loop) 1) Define input and target variables 2) Create a Nonlinear autoregressive network 3) NARXNET function is used to create network 4) NARXNET require (a) InputDelay (b) FeedbackDelay (c) HiddenlayerSize as input 5) When network got created it require data for training 6) Function PREPARETS prepares time series data and allows to keep original time series data unchanged 7) PREPARETS uses network ,input series ,target series to preapare data 8) We know that data prepared is used for three purpose in network (a) 75% data for training (b)15% data for validation (c)15% data for testing . So our next step is to divide the data for upcoming process. 9) Then next step is to train the netwok with the help of TRAIN function. 10) TRAIN functions uses previously prepared data for training purpose.
  • 22. Steps for writing time series code for prediction for NAR output. (closed loop) 1) Closed loop code is not completely different from open loop 2) Network is always created and trained in open form. 3) So first network is created and trained in open form. 4) Then network is closed using the function CLOSEDLOOP 5) Further preparets is use to prepare the time series data 6) Then feedbackdata and input data is updated after delay 7) Finally performance of network is checked