SlideShare a Scribd company logo
1 of 35
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

More Related Content

What's hot

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 SVMHonglin Yu
 
Vector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebraVector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebraIGMKD
 
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 PerceptronAndres 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 & BackpropagationMohammed 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 ClassificationPrakash 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 modaJavier Abadía
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronMostafa G. M. Mostafa
 
Defense_Talk
Defense_TalkDefense_Talk
Defense_Talkcastanan2
 
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
 

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...
 
SOFTCOMPUTERING TECHNICS - Unit
SOFTCOMPUTERING TECHNICS - UnitSOFTCOMPUTERING TECHNICS - Unit
SOFTCOMPUTERING TECHNICS - Unit
 
Unit ii supervised ii
Unit ii supervised iiUnit ii supervised ii
Unit ii supervised ii
 
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...
 
A Simple Review on SVM
A Simple Review on SVMA Simple Review on SVM
A Simple Review on SVM
 
Vector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebraVector-Valued Functions and GeoGebra
Vector-Valued Functions and GeoGebra
 
Neural networks
Neural networksNeural networks
Neural networks
 
Unit iii update
Unit iii updateUnit iii update
Unit iii update
 
FEM
FEMFEM
FEM
 
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 ...
 
15 Machine Learning Multilayer Perceptron
15 Machine Learning Multilayer Perceptron15 Machine Learning Multilayer Perceptron
15 Machine Learning Multilayer Perceptron
 
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
 
Introduction to Neural Netwoks
Introduction to Neural Netwoks Introduction to Neural Netwoks
Introduction to Neural Netwoks
 
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...
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
 
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
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
 
Defense_Talk
Defense_TalkDefense_Talk
Defense_Talk
 
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-...
 
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...
 

Similar to Neural Network Fundamentals

Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsDrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsDrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsDrBaljitSinghKhehra
 
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).pptxMdMahfoozAlam5
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Networkssuserab4f3e
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.pptRINUSATHYAN
 
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.pptxgnans 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
 
Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...Muhammad Ishaq
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks ShwethaShreeS
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksFrancesco Collova'
 

Similar to Neural Network Fundamentals (20)

Supervised learning network
Supervised learning networkSupervised learning network
Supervised learning network
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
 
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
 
Unit 1
Unit 1Unit 1
Unit 1
 
Anfis (1)
Anfis (1)Anfis (1)
Anfis (1)
 
Artificial Neuron network
Artificial Neuron network Artificial Neuron network
Artificial Neuron network
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
ann-ics320Part4.ppt
ann-ics320Part4.pptann-ics320Part4.ppt
ann-ics320Part4.ppt
 
ann-ics320Part4.ppt
ann-ics320Part4.pptann-ics320Part4.ppt
ann-ics320Part4.ppt
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.ppt
 
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
 
2-Perceptrons.pdf
2-Perceptrons.pdf2-Perceptrons.pdf
2-Perceptrons.pdf
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
 
Nn 1light
Nn 1lightNn 1light
Nn 1light
 
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...
 
Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks
 
Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural Networks
 

Recently uploaded

RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一F La
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 

Recently uploaded (20)

RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 

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