SlideShare a Scribd company logo
Neural Network
Fundamentals-I
Manoj Kumar
Available on e-commerce stores
Text Book | First Chapter
Video Book | First 4/37 lectures
What is Neural net
Generalization of mathematical models of human cognition or neural biology.
Assumption:
1. Information processing occurs at many simple elements called neurons,
2. Signals are passed between neurons over connection links,
3. Each connection link has an associated weight, which, in a typical neural net,
multiplies the signal transmitted.
4. Each neuron applies an activation function (usually non-linear) to its net input
(sum of weighted input signals) to determine its output signal.
Characteristics
A neural network is characterized by
1. Pattern of connection between neurons called as architecture
2. Method of determining the weights on the connection called as training or
learning algorithm,
3. Activation function
Solve Problems
1. Storing and recalling data or patterns,
2. Classifying patterns,
3. Grouping similar patterns,
4. Constraint optimization problems
Simple Architecture
x1
x2
x3
y
y_in=w1x1+w2x2+w3x3
w1
w2
w3
Then y=f(y_in)
And f() is the activation
function, Sigmoid, Tanh, ReLu or
SoftMax
With Hidden Layer
X1
X2
X3
y
w1
w2
w3
Z1
Z2
v1
v2
Practical Cases
1. Signal Processing,
2. Control,
3. Pattern Recognition,
4. Medicine,
5. Speech Production,
6. Speech Recognition,
7. Business,
8. Image processing,
9. Deep fake ?
10.Style Transfer ?
Typical Architectures
1. Single Layer Net
2. Multi Layer Net
3. Competitive layer (Maxnet)
Setting Synaptic Weights | Strength of connections
1. Supervised learning
2. Unsupervised learning
3. Fixed-weight nets (Boltzmann Machine and Hopfield Network)
Activation Functions
1. Identity function f(x)=x,
2. Binary step function with threshold,f(x)={1 if x>=theta,0 if x<theta}
3. Binary sigmoid/logistic sigmoid
4. Bipolar sigmoid/hyperbolic tangent
5. ReLu
Bias
x1
x2
x3
y
y_in=b1 +w1x1+w2x2+w3x3
w1
w2
w3
Then y=f(y_in)
And f() is the activation
function, Sigmoid, Tanh, ReLu or
SoftMax
1
b1
Classic key words
1. McCulloch-Pitts neurons 1988,
2. Hebb learning,
3. Perceptrons,
4. ADALINE & MADALINE (Adaptive Linear Neuron),
5. Backpropagation,
6. Hopfield nets,
7. Neocognitron,
8. Boltzmann machine
Note: These will be covered in chapters in detail. Under “Learning Rules”.
Linear Model | Data/Curve Fitting using ANN
y=mx+c [ m and c are free choice]
y=W1x+W0 [ W1 -> Synaptic weight, W0 ->Bias]
1
2
+1
W21 -> slope m
W20 -> intercept C
y2
Bias
Xi
X
y
Question: y=m1x1+m2x2+...+c1+c2…+cn | ADALINE
Non Linear Model | Data/Curve Fitting using ANN
X
y
Possible?
Neural Network
Fundamentals -II
Manoj Kumar
Revision
1. Generalization of mathematical models of human cognition or neural biology.
2. Pattern of connection between neurons called as architecture
3. Method of determining the weights on the connection called as training or
learning algorithm,
4. Activation function,
5. Simple Architecture and Bias,
6. Linear model and curve fitting using simple architecture,
7. Remember : y_in=b1 +w1x1+w2x2+w3x3
Linear Model | Data/Curve Fitting using ANN
y=mx+c [ m and c are free choice]
y=W1x+W0 [ W1 -> Synaptic weight, W0 ->Bias]
1
2
+1
W21 -> slope m
W20 -> intercept C
y2
Bias
Xi
X
y
Question: y=m1x1+m2x2+...+c1+c2…+cn | ADALINE
Combined Error Measurement
X
y
W0
Error
Ep = Sum(tp-yp)^2
tp->target output
yp->Neural Network Response
Seems familiar?
Best fit, lowest point
of hyperboloid
Iteration n, for W0 and W1
Iteration m, for W0 and W1
Minimum Error ⇔ Best Fit | 2D Explanation
Error(E)
Synaptic Weight values (W)
Partial derivative of E w.r.t. W under observation:
E / W will give this profile for slopes.
Why not to just differentiate to reach minima?
https://www.youtube.com/watch?v=_ON9fuVR9oA https://www.youtube.com/watch?v=AXqhWeUEtQU
Gradient Descent Algorithm
Non Linear Activation Units
W0
Error
Best fit ?
Iteration n, for W0 and W1
Iteration m, for W0 and W1
Global minima vs local minima?
Gradient of descent:
G= E/ Wij
= Ep / Wij
= ( Ep/ Wij)
Chain rule of differentiation….
applied Ep= (tp-yp)^2
Ep = Sum(tp-yp)^2
tp->target output
yp->Neural Network Response
https://www.youtube.com/watch?v=KshIEHQn5ZM&list=PL53BE265CE4A6C056&index=3
Gradient Descent Algorithm
Non Linear Activation Units
Global minima vs local minima?
Gradient of descent:
G= E/ Wij
= Ep / Wij
= ( Ep/ Wij) = (dEp/dy) * (dy/dw)
Chain rule of differentiation….
applied Ep=1/2 (tp-yp)^2
Ep = Sum(tp-yp)^2
tp->target output
yp->Neural Network Response
E / Wp,i = - (tp-yp) xi ….
Derivative or gradient w.r.t. Wp,i
Correction to reach minima, in -ve direction:
delta Wp,i= (tp-yp)xi
Wp,i= Wp,i + delta Wp,i
AND, to speed up correction
Delta Wp,i= e (tp-yp)xi
e is learning rate!
https://www.youtube.com/watch?v=0T0QrHO56qg
And, y_in=b1 +w1x1+w2x2+w3x3
Gradient Descent Algorithm
Non Linear Activation Units
Learning rate, e
Error(E)
Synaptic Weight values (W)
Learning rate controls
the speed of descent
● Simple: Higher learning rate can
reach minima faster and slower
learning rate will be slower?
● Is that true?
● Crossing the minima, a
possibility?
Learning Rate(e) Impact
Error(E)
Synaptic Weight values (W)
Learning rate controls the speed
of descent
Everything is about this
region!
Non linear activation function | Sigmoid/al
y=0
y=1
z=0
-
f(y)=
Non Linear Model | Data/Curve Fitting using ANN
X
y
Possible?
Neural Network
Fundamentals -III
Manoj Kumar
Learning Mechanisms in NN
To update synaptic weights and bias
Following five basic rules, can help, in doing so:
1. Error- correction learning
2. Memory based learning
3. Hebbian Learning
4. Competitive Learning
5. Boltzmann Learning
Stimulation
Change
Free Param
Respond
different
Error Correction
https://www.youtube.com/watch?v=O4rU2pImSe
Memory Based Learning
● Memorize association between input and output vector
● Xi (inputs), di (output) for i= 1...N
● For unknown Xz vector , how to find match?
● We find closest match, using distance like euclidean distance. That will be
nearest neighbour of Xz. min of dist(Xi,Xz)
● Sounds familiar ?
● What’s the catch? Outlier ?
● Solution pick neighbours not neighbour , k-nearest
neighbour
Hebbian Learning
● Closest to biological neuron learning, Hebb (1949 book) Neurophysiologist,
● If cell A consistently fires signals for cell B then metabolic changes happens
so that the efficiency A signalling B increases. The synaptic weight
strengthens between them. And weakens in case it doesn’t,
● 2 Neurons: Presynaptic neurons and postsynaptic neurons,
● Hebbian Synapses
○ Time Dependent,
○ Local in nature,(Spatiotemporal continuity)
○ Strongly interactive (back and forth interaction)
Competitive Learning
Boltzmann Learning
XOR
Ad

More Related Content

What's hot (20)

Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
MLconf
 
SOFTCOMPUTERING TECHNICS - Unit
SOFTCOMPUTERING TECHNICS - UnitSOFTCOMPUTERING TECHNICS - Unit
SOFTCOMPUTERING TECHNICS - Unit
sravanthi computers
 
Unit ii supervised ii
Unit ii supervised iiUnit ii supervised ii
Unit ii supervised ii
Indira Priyadarsini
 
High performance extreme learning machines a complete toolbox for big data a...
High performance extreme learning machines  a complete toolbox for big data a...High performance extreme learning machines  a complete toolbox for big data a...
High performance extreme learning machines a complete toolbox for big data a...
redpel dot com
 
A Simple Review on SVM
A Simple Review on SVMA Simple Review on SVM
A Simple Review on SVM
Honglin Yu
 
Vector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebraVector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebra
IGMKD
 
Neural networks
Neural networksNeural networks
Neural networks
Indira Priyadarsini
 
Unit iii update
Unit iii updateUnit iii update
Unit iii update
Indira Priyadarsini
 
FEM
FEMFEM
FEM
Waqas Javaid
 
Learning Globally-Consistent Local Distance Functions for Shape ...
Learning Globally-Consistent Local Distance Functions for Shape ...Learning Globally-Consistent Local Distance Functions for Shape ...
Learning Globally-Consistent Local Distance Functions for Shape ...
butest
 
15 Machine Learning Multilayer Perceptron
15 Machine Learning Multilayer Perceptron15 Machine Learning Multilayer Perceptron
15 Machine Learning Multilayer Perceptron
Andres Mendez-Vazquez
 
Artificial Neural Networks Lect5: Multi-Layer Perceptron & Backpropagation
Artificial Neural Networks Lect5: Multi-Layer Perceptron & BackpropagationArtificial Neural Networks Lect5: Multi-Layer Perceptron & Backpropagation
Artificial Neural Networks Lect5: Multi-Layer Perceptron & Backpropagation
Mohammed Bennamoun
 
Introduction to Neural Netwoks
Introduction to Neural Netwoks Introduction to Neural Netwoks
Introduction to Neural Netwoks
Abdallah Bashir
 
Comparison of Neural Network Training Functions for Hematoma Classification i...
Comparison of Neural Network Training Functions for Hematoma Classification i...Comparison of Neural Network Training Functions for Hematoma Classification i...
Comparison of Neural Network Training Functions for Hematoma Classification i...
IOSR Journals
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
Prakash Pimpale
 
Deep learning image classification aplicado al mundo de la moda
Deep learning image classification aplicado al mundo de la modaDeep learning image classification aplicado al mundo de la moda
Deep learning image classification aplicado al mundo de la moda
Javier Abadía
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
Mostafa G. M. Mostafa
 
Defense_Talk
Defense_TalkDefense_Talk
Defense_Talk
castanan2
 
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Cemal Ardil
 
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
MLconf
 
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
MLconf
 
High performance extreme learning machines a complete toolbox for big data a...
High performance extreme learning machines  a complete toolbox for big data a...High performance extreme learning machines  a complete toolbox for big data a...
High performance extreme learning machines a complete toolbox for big data a...
redpel dot com
 
A Simple Review on SVM
A Simple Review on SVMA Simple Review on SVM
A Simple Review on SVM
Honglin Yu
 
Vector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebraVector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebra
IGMKD
 
Learning Globally-Consistent Local Distance Functions for Shape ...
Learning Globally-Consistent Local Distance Functions for Shape ...Learning Globally-Consistent Local Distance Functions for Shape ...
Learning Globally-Consistent Local Distance Functions for Shape ...
butest
 
15 Machine Learning Multilayer Perceptron
15 Machine Learning Multilayer Perceptron15 Machine Learning Multilayer Perceptron
15 Machine Learning Multilayer Perceptron
Andres Mendez-Vazquez
 
Artificial Neural Networks Lect5: Multi-Layer Perceptron & Backpropagation
Artificial Neural Networks Lect5: Multi-Layer Perceptron & BackpropagationArtificial Neural Networks Lect5: Multi-Layer Perceptron & Backpropagation
Artificial Neural Networks Lect5: Multi-Layer Perceptron & Backpropagation
Mohammed Bennamoun
 
Introduction to Neural Netwoks
Introduction to Neural Netwoks Introduction to Neural Netwoks
Introduction to Neural Netwoks
Abdallah Bashir
 
Comparison of Neural Network Training Functions for Hematoma Classification i...
Comparison of Neural Network Training Functions for Hematoma Classification i...Comparison of Neural Network Training Functions for Hematoma Classification i...
Comparison of Neural Network Training Functions for Hematoma Classification i...
IOSR Journals
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
Prakash Pimpale
 
Deep learning image classification aplicado al mundo de la moda
Deep learning image classification aplicado al mundo de la modaDeep learning image classification aplicado al mundo de la moda
Deep learning image classification aplicado al mundo de la moda
Javier Abadía
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
Mostafa G. M. Mostafa
 
Defense_Talk
Defense_TalkDefense_Talk
Defense_Talk
castanan2
 
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Cemal Ardil
 
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
MLconf
 

Similar to Neural Network Fundamentals (20)

Supervised learning network
Supervised learning networkSupervised learning network
Supervised learning network
Dr. C.V. Suresh Babu
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
DrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
DrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
DrBaljitSinghKhehra
 
this is a Ai topic neural network ML_Lecture_4.ppt
this is a Ai topic neural network ML_Lecture_4.pptthis is a Ai topic neural network ML_Lecture_4.ppt
this is a Ai topic neural network ML_Lecture_4.ppt
ry54321288
 
latest TYPES OF NEURAL NETWORKS (2).pptx
latest TYPES OF NEURAL NETWORKS (2).pptxlatest TYPES OF NEURAL NETWORKS (2).pptx
latest TYPES OF NEURAL NETWORKS (2).pptx
MdMahfoozAlam5
 
Unit 1
Unit 1Unit 1
Unit 1
Vinod Srinivasan
 
Anfis (1)
Anfis (1)Anfis (1)
Anfis (1)
TarekBarhoum
 
Artificial Neuron network
Artificial Neuron network Artificial Neuron network
Artificial Neuron network
Smruti Ranjan Sahoo
 
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
vallepubalaji66
 
Artificial Neural Network for machine learning
Artificial Neural Network for machine learningArtificial Neural Network for machine learning
Artificial Neural Network for machine learning
2303oyxxxjdeepak
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
ssuserab4f3e
 
ann-ics320Part4.ppt
ann-ics320Part4.pptann-ics320Part4.ppt
ann-ics320Part4.ppt
GayathriRHICETCSESTA
 
ann-ics320Part4.ppt
ann-ics320Part4.pptann-ics320Part4.ppt
ann-ics320Part4.ppt
GayathriRHICETCSESTA
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.ppt
RINUSATHYAN
 
ACUMENS ON NEURAL NET AKG 20 7 23.pptx
ACUMENS ON NEURAL NET AKG 20 7 23.pptxACUMENS ON NEURAL NET AKG 20 7 23.pptx
ACUMENS ON NEURAL NET AKG 20 7 23.pptx
gnans Kgnanshek
 
2-Perceptrons.pdf
2-Perceptrons.pdf2-Perceptrons.pdf
2-Perceptrons.pdf
DrSmithaVasP
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
Tamer Ahmed Farrag, PhD
 
Nn 1light
Nn 1lightNn 1light
Nn 1light
Degeneration Deseases
 
A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...
A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...
A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...
Cemal Ardil
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
DrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
DrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
DrBaljitSinghKhehra
 
this is a Ai topic neural network ML_Lecture_4.ppt
this is a Ai topic neural network ML_Lecture_4.pptthis is a Ai topic neural network ML_Lecture_4.ppt
this is a Ai topic neural network ML_Lecture_4.ppt
ry54321288
 
latest TYPES OF NEURAL NETWORKS (2).pptx
latest TYPES OF NEURAL NETWORKS (2).pptxlatest TYPES OF NEURAL NETWORKS (2).pptx
latest TYPES OF NEURAL NETWORKS (2).pptx
MdMahfoozAlam5
 
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
Module1 (2).pptxvgybhunjimko,l.vgbyhnjmk;
vallepubalaji66
 
Artificial Neural Network for machine learning
Artificial Neural Network for machine learningArtificial Neural Network for machine learning
Artificial Neural Network for machine learning
2303oyxxxjdeepak
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
ssuserab4f3e
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.ppt
RINUSATHYAN
 
ACUMENS ON NEURAL NET AKG 20 7 23.pptx
ACUMENS ON NEURAL NET AKG 20 7 23.pptxACUMENS ON NEURAL NET AKG 20 7 23.pptx
ACUMENS ON NEURAL NET AKG 20 7 23.pptx
gnans Kgnanshek
 
A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...
A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...
A comparison-of-first-and-second-order-training-algorithms-for-artificial-neu...
Cemal Ardil
 
Ad

Recently uploaded (20)

chapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptxchapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptx
justinebandajbn
 
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
James Francis Paradigm Asset Management
 
Data Analytics Overview and its applications
Data Analytics Overview and its applicationsData Analytics Overview and its applications
Data Analytics Overview and its applications
JanmejayaMishra7
 
Medical Dataset including visualizations
Medical Dataset including visualizationsMedical Dataset including visualizations
Medical Dataset including visualizations
vishrut8750588758
 
03 Daniel 2-notes.ppt seminario escatologia
03 Daniel 2-notes.ppt seminario escatologia03 Daniel 2-notes.ppt seminario escatologia
03 Daniel 2-notes.ppt seminario escatologia
Alexander Romero Arosquipa
 
Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
Deloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit contextDeloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit context
Process mining Evangelist
 
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
ThanushsaranS
 
Calories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptxCalories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptx
TijiLMAHESHWARI
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
gmuir1066
 
Simple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptxSimple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptx
ssuser2aa19f
 
04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story
ccctableauusergroup
 
GenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.aiGenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.ai
Inspirient
 
Developing Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response ApplicationsDeveloping Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response Applications
VICTOR MAESTRE RAMIREZ
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
chapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.pptchapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.ppt
justinebandajbn
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
DPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdfDPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdf
inmishra17121973
 
chapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptxchapter 4 Variability statistical research .pptx
chapter 4 Variability statistical research .pptx
justinebandajbn
 
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
James Francis Paradigm Asset Management
 
Data Analytics Overview and its applications
Data Analytics Overview and its applicationsData Analytics Overview and its applications
Data Analytics Overview and its applications
JanmejayaMishra7
 
Medical Dataset including visualizations
Medical Dataset including visualizationsMedical Dataset including visualizations
Medical Dataset including visualizations
vishrut8750588758
 
Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
Deloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit contextDeloitte Analytics - Applying Process Mining in an audit context
Deloitte Analytics - Applying Process Mining in an audit context
Process mining Evangelist
 
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
ThanushsaranS
 
Calories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptxCalories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptx
TijiLMAHESHWARI
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
gmuir1066
 
Simple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptxSimple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptx
ssuser2aa19f
 
04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story
ccctableauusergroup
 
GenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.aiGenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.ai
Inspirient
 
Developing Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response ApplicationsDeveloping Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response Applications
VICTOR MAESTRE RAMIREZ
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
chapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.pptchapter3 Central Tendency statistics.ppt
chapter3 Central Tendency statistics.ppt
justinebandajbn
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
DPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdfDPR_Expert_Recruitment_notice_Revised.pdf
DPR_Expert_Recruitment_notice_Revised.pdf
inmishra17121973
 
Ad

Neural Network Fundamentals

  • 2. Available on e-commerce stores Text Book | First Chapter
  • 3. Video Book | First 4/37 lectures
  • 4. What is Neural net Generalization of mathematical models of human cognition or neural biology. Assumption: 1. Information processing occurs at many simple elements called neurons, 2. Signals are passed between neurons over connection links, 3. Each connection link has an associated weight, which, in a typical neural net, multiplies the signal transmitted. 4. Each neuron applies an activation function (usually non-linear) to its net input (sum of weighted input signals) to determine its output signal.
  • 5. Characteristics A neural network is characterized by 1. Pattern of connection between neurons called as architecture 2. Method of determining the weights on the connection called as training or learning algorithm, 3. Activation function
  • 6. Solve Problems 1. Storing and recalling data or patterns, 2. Classifying patterns, 3. Grouping similar patterns, 4. Constraint optimization problems
  • 7. Simple Architecture x1 x2 x3 y y_in=w1x1+w2x2+w3x3 w1 w2 w3 Then y=f(y_in) And f() is the activation function, Sigmoid, Tanh, ReLu or SoftMax
  • 9. Practical Cases 1. Signal Processing, 2. Control, 3. Pattern Recognition, 4. Medicine, 5. Speech Production, 6. Speech Recognition, 7. Business, 8. Image processing, 9. Deep fake ? 10.Style Transfer ?
  • 10. Typical Architectures 1. Single Layer Net 2. Multi Layer Net 3. Competitive layer (Maxnet)
  • 11. Setting Synaptic Weights | Strength of connections 1. Supervised learning 2. Unsupervised learning 3. Fixed-weight nets (Boltzmann Machine and Hopfield Network)
  • 12. Activation Functions 1. Identity function f(x)=x, 2. Binary step function with threshold,f(x)={1 if x>=theta,0 if x<theta} 3. Binary sigmoid/logistic sigmoid 4. Bipolar sigmoid/hyperbolic tangent 5. ReLu
  • 13. Bias x1 x2 x3 y y_in=b1 +w1x1+w2x2+w3x3 w1 w2 w3 Then y=f(y_in) And f() is the activation function, Sigmoid, Tanh, ReLu or SoftMax 1 b1
  • 14. Classic key words 1. McCulloch-Pitts neurons 1988, 2. Hebb learning, 3. Perceptrons, 4. ADALINE & MADALINE (Adaptive Linear Neuron), 5. Backpropagation, 6. Hopfield nets, 7. Neocognitron, 8. Boltzmann machine Note: These will be covered in chapters in detail. Under “Learning Rules”.
  • 15. Linear Model | Data/Curve Fitting using ANN y=mx+c [ m and c are free choice] y=W1x+W0 [ W1 -> Synaptic weight, W0 ->Bias] 1 2 +1 W21 -> slope m W20 -> intercept C y2 Bias Xi X y Question: y=m1x1+m2x2+...+c1+c2…+cn | ADALINE
  • 16. Non Linear Model | Data/Curve Fitting using ANN X y Possible?
  • 18. Revision 1. Generalization of mathematical models of human cognition or neural biology. 2. Pattern of connection between neurons called as architecture 3. Method of determining the weights on the connection called as training or learning algorithm, 4. Activation function, 5. Simple Architecture and Bias, 6. Linear model and curve fitting using simple architecture, 7. Remember : y_in=b1 +w1x1+w2x2+w3x3
  • 19. Linear Model | Data/Curve Fitting using ANN y=mx+c [ m and c are free choice] y=W1x+W0 [ W1 -> Synaptic weight, W0 ->Bias] 1 2 +1 W21 -> slope m W20 -> intercept C y2 Bias Xi X y Question: y=m1x1+m2x2+...+c1+c2…+cn | ADALINE
  • 20. Combined Error Measurement X y W0 Error Ep = Sum(tp-yp)^2 tp->target output yp->Neural Network Response Seems familiar? Best fit, lowest point of hyperboloid Iteration n, for W0 and W1 Iteration m, for W0 and W1
  • 21. Minimum Error ⇔ Best Fit | 2D Explanation Error(E) Synaptic Weight values (W) Partial derivative of E w.r.t. W under observation: E / W will give this profile for slopes. Why not to just differentiate to reach minima? https://www.youtube.com/watch?v=_ON9fuVR9oA https://www.youtube.com/watch?v=AXqhWeUEtQU
  • 22. Gradient Descent Algorithm Non Linear Activation Units W0 Error Best fit ? Iteration n, for W0 and W1 Iteration m, for W0 and W1 Global minima vs local minima? Gradient of descent: G= E/ Wij = Ep / Wij = ( Ep/ Wij) Chain rule of differentiation…. applied Ep= (tp-yp)^2 Ep = Sum(tp-yp)^2 tp->target output yp->Neural Network Response https://www.youtube.com/watch?v=KshIEHQn5ZM&list=PL53BE265CE4A6C056&index=3
  • 23. Gradient Descent Algorithm Non Linear Activation Units Global minima vs local minima? Gradient of descent: G= E/ Wij = Ep / Wij = ( Ep/ Wij) = (dEp/dy) * (dy/dw) Chain rule of differentiation…. applied Ep=1/2 (tp-yp)^2 Ep = Sum(tp-yp)^2 tp->target output yp->Neural Network Response E / Wp,i = - (tp-yp) xi …. Derivative or gradient w.r.t. Wp,i Correction to reach minima, in -ve direction: delta Wp,i= (tp-yp)xi Wp,i= Wp,i + delta Wp,i AND, to speed up correction Delta Wp,i= e (tp-yp)xi e is learning rate! https://www.youtube.com/watch?v=0T0QrHO56qg And, y_in=b1 +w1x1+w2x2+w3x3
  • 24. Gradient Descent Algorithm Non Linear Activation Units Learning rate, e Error(E) Synaptic Weight values (W) Learning rate controls the speed of descent ● Simple: Higher learning rate can reach minima faster and slower learning rate will be slower? ● Is that true? ● Crossing the minima, a possibility?
  • 25. Learning Rate(e) Impact Error(E) Synaptic Weight values (W) Learning rate controls the speed of descent Everything is about this region!
  • 26. Non linear activation function | Sigmoid/al y=0 y=1 z=0 - f(y)=
  • 27. Non Linear Model | Data/Curve Fitting using ANN X y Possible?
  • 29. Learning Mechanisms in NN To update synaptic weights and bias Following five basic rules, can help, in doing so: 1. Error- correction learning 2. Memory based learning 3. Hebbian Learning 4. Competitive Learning 5. Boltzmann Learning Stimulation Change Free Param Respond different
  • 31. Memory Based Learning ● Memorize association between input and output vector ● Xi (inputs), di (output) for i= 1...N ● For unknown Xz vector , how to find match? ● We find closest match, using distance like euclidean distance. That will be nearest neighbour of Xz. min of dist(Xi,Xz) ● Sounds familiar ? ● What’s the catch? Outlier ? ● Solution pick neighbours not neighbour , k-nearest neighbour
  • 32. Hebbian Learning ● Closest to biological neuron learning, Hebb (1949 book) Neurophysiologist, ● If cell A consistently fires signals for cell B then metabolic changes happens so that the efficiency A signalling B increases. The synaptic weight strengthens between them. And weakens in case it doesn’t, ● 2 Neurons: Presynaptic neurons and postsynaptic neurons, ● Hebbian Synapses ○ Time Dependent, ○ Local in nature,(Spatiotemporal continuity) ○ Strongly interactive (back and forth interaction)
  • 35. XOR