SlideShare a Scribd company logo
1 of 10
Download to read offline
Parveen Malik
Assistant Professor
KIIT University
Neural Networks
Radial Basis Function
Network
𝑥1 𝑥2 𝑥2 𝑥2
𝑦1 𝑦2
𝑾(𝟏)
𝑾(𝟑)
Radial Basis Function
• Radial Basis functions are generally used to map the non-linearly seperable classes to
linearly separable class.
• We generally increase the dimensionality of the input feature vector.
• Radial basis function (RBF) is real valued function 𝜑 whose value depends only on the
distance between the input and some fixed point 𝒄.
𝝋 𝑿 = 𝑿 − 𝒄
• Different radial functions-
1. 𝜑 𝑟 = 𝑟2 + 𝑐2 Τ
1 2 𝑀𝑢𝑙𝑡𝑖𝑞𝑢𝑎𝑑𝑟𝑎𝑡𝑖𝑐 𝑤ℎ𝑒𝑟𝑒 𝒓 ∈ 𝑹 𝑎𝑛𝑑 𝒄 𝑖𝑠 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
2. 𝜑 𝑟 = 𝑒
−𝑟2
2𝜎2 𝐺𝑎𝑢𝑠𝑠𝑖𝑎𝑛 𝐹𝑢𝑛𝑐𝑡𝑖𝑜𝑛
3. φ 𝑟 =
1
𝑟2+𝑐2 Τ
1 2 𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑄𝑢𝑎𝑑𝑟𝑎𝑡𝑖𝑐
• Radial basis functions generally used to generalized mathematical function as
𝒚 𝑿 = σ𝒊=𝟏
𝑵
𝒘𝒊𝝋 𝑿 − 𝑿𝒊
𝑊ℎ𝑒𝑟𝑒 𝒚 𝑿 𝑖𝑠 𝑎𝑝𝑝𝑟𝑜𝑥𝑖𝑚𝑎𝑡𝑖𝑛𝑔 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑎𝑛𝑑 𝑵 𝑖𝑠 𝑛𝑜. 𝑜𝑓 𝑅𝐵𝐹 𝑒𝑎𝑐ℎ 𝑎𝑠𝑠𝑜𝑐𝑖𝑎𝑡𝑒𝑑 𝑤𝑖𝑡ℎ 𝑐𝑒𝑛𝑡𝑒𝑟 𝑋𝑖
Radial Basis Function Network
• Radial basis function network can be used as kernels for approximating functions and
recognizing patterns.
• Developed by Michael. J. D. Powell in 1977 and applied to Machine Learning by David
Broomhead and David Lowe in 1988.
• Radial Basis functions use a layer which maps the non-linearly separable classes to linearly
separable class.
𝒕𝟏
𝒕𝟐
𝒕𝑴
∑
⋮
∑
Input Vector
Dimension -P RBF
Neurons
Dim - M
Weighted
Sums
RBF Network Architecture
⋮
𝒕𝒊 → 𝑹𝒆𝒄𝒆𝒑𝒕𝒐𝒓 𝒐𝒓 𝒄𝒆𝒏𝒕𝒓𝒆 𝒑𝒐𝒊𝒏𝒕
Radial basis function
𝝋𝒊 𝑿 = 𝒆
− 𝑿−𝒕𝒊
𝟐
𝟐𝝈𝒊
𝟐
𝝋𝟏 𝑿
𝝋𝟐 𝑿
𝝋𝑴 𝑿
Radial Basis Network
Problem : Solve XOR problem with RBF network (Two receptor points)
Solution : Step 1 – Choose receptor or centre points. Here , we choose 𝑡1 and 𝑡2.
Step 2 – Now since there are two receptor points, we need to chose suitable
radial basis function centred around 𝑡1(0,0) and 𝑡2(1,1).
Let us select Gaussian function as 𝜑𝑖 𝑋 = 𝑒
− 𝑋−𝑡𝑖
2
2𝜎𝑖
2
& Let 𝜎𝑖
2
= 1.
Step 3 – For input vector X (0,0) ,
𝝋𝟏 𝑿 = 𝒆
− 𝑿−𝒕𝟏
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆
− (𝟎−𝟎)𝟐+ 𝟎−𝟎 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆−𝟎 = 𝟏
𝝋𝟐 𝑿 = 𝒆
− 𝑿−𝒕𝟐
𝟐
𝟐𝝈𝟐
𝟐
= 𝒆
− (𝟎−𝟏)𝟐+ 𝟎−𝟏 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆−𝟏
= 𝟎. 𝟒
For input vector X (0,1) ,
𝝋𝟏 𝑿 = 𝒆
− 𝑿−𝒕𝟏
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆
− (𝟎−𝟎)𝟐+ 𝟏−𝟎 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆− Τ
𝟏 𝟐 = 𝟎. 𝟔
𝝋𝟐 𝑿 = 𝒆
− 𝑿−𝒕𝟐
𝟐
𝟐𝝈𝟐
𝟐
= 𝒆
− (𝟎−𝟏)𝟐+ 𝟏−𝟏 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆− Τ
𝟏 𝟐 = 𝟎. 𝟔
0,0 1,0
0,1
1,1
𝒙𝟏
𝒙𝟐
𝑡1
𝑡2
Radial Basis Network
XOR
𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿 𝝋𝟐 𝑿
0 0 1 0.4
0 1 0.6 0.6
1 0 0.6 0.6
1 1 0.4 1
𝝋𝟏 𝑿
0,0 1,0
0,1
1,1
𝒙𝟏
𝒙𝟐
(1,0.4)
1,0 𝝋𝟏 𝑿
(0.4,1)
(0.6,0.6)
Radial Basis Network Architecture (XOR)
𝒕𝟏
𝑥1
𝑥2 𝜑2(𝑋)
𝜑1(𝑋)
𝒕𝟐
𝒘𝟏
𝒘𝟐
RBF Layer
Nodes
Input Layer
Nodes
Output
Layer Node
ෝ
𝒚
1
𝒘𝟎 = 𝟐
σ 𝑓
We can also train the neural network
(RBF layer to Output)
with gradient descent rule
XOR
𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿 𝝋𝟐 𝑿
෍
𝒊=𝟏
𝟒
𝒘𝒊𝝋𝒊(𝑿) ෍
𝒊=𝟏
𝟒
𝒘𝒊𝝋𝒊 𝑿 + 𝒘𝟎
Output
0 0 1 0.4 -1.4 0.6 0
0 1 0.6 0.6 -1.2 0.8 1
1 0 0.6 0.6 -1.2 0.8 1
1 1 0.4 1 -1.2 0.6 0
𝒘𝒊 𝒘𝟏=-1 𝒘𝟐=-1
0.7
𝒇 𝒊𝒔 𝒉𝒂𝒓𝒅 𝒂𝒄𝒕𝒊𝒗𝒂𝒕𝒊𝒐𝒏 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏
centred at 0.7
𝒇
1
Radial Basis Network (Four receptor points)
Problem : Solve XOR problem with RBF network (Four receptor points)
Solution : Step 1 – Choose receptor or centre points. Here , we choose 𝑡1 and 𝑡2.
Step 2 – Now since there are two receptor points, we need to chose suitable
radial basis function centred around 𝑡1(0,0) , 𝑡2(0,1) , 𝑡3(1,0) and 𝑡4(1,1).
Let us select Gaussian function as 𝝋𝒊 𝑿 = 𝒆
− 𝑿−𝒕𝒊
𝟐
𝟐𝝈𝒊
𝟐
& 𝝈𝒊
𝟐
= 𝟏.
Step 3 – For input vector X→ (0,0) ,
𝝋𝟏 𝑿 = 𝒆
− 𝑿−𝒕𝟏
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆
− (𝟎−𝟎)𝟐+ 𝟎−𝟎 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆−𝟎
= 𝟏
𝝋𝟐 𝑿 = 𝒆
− 𝑿−𝒕𝟐
𝟐
𝟐𝝈𝟐
𝟐
= 𝒆
− (𝟎−𝟎)𝟐+ 𝟎−𝟏 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆 Τ
−𝟏 𝟐 = 𝟎. 𝟔
𝝋𝟑 𝑿 = 𝒆
− 𝑿−𝒕𝟑
𝟐
𝟐𝝈𝟑
𝟐
= 𝒆
− (𝟎−𝟏)𝟐+ 𝟎−𝟏 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆−𝟏
= 𝟎. 𝟒
𝝋𝟒 𝑿 = 𝒆
− 𝑿−𝒕𝟑
𝟐
𝟐𝝈𝟐
𝟐
= 𝒆
− (𝟎−𝟏)𝟐+ 𝟎−𝟎 𝟐
𝟐
𝟐𝝈𝟏
𝟐
= 𝒆 Τ
−𝟏 𝟐
= 𝟎. 𝟔
Similarly, we calculate 𝜑𝑖 𝑋 for other input vectors
0,0 1,0
0,1
1,1
𝒙𝟏
𝒙𝟐
𝑡1
𝑡3
𝑡2
𝑡4
Radial Basis Network (XOR Problem with 4 RBF kernels)
XOR (4 Receptor Points)
𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿
𝒕𝟏(𝟎, 𝟎)
𝝈𝟏 = 𝟏
𝝋𝟐 𝑿
𝒕𝟐(𝟎, 𝟏)
𝝈𝟐 = 𝟏
𝝋𝟑 𝑿
𝒕𝟑(𝟏, 𝟎)
𝝈𝟑 = 𝟏
𝝋𝟒 𝑿
𝒕𝟒(𝟏, 𝟏)
𝝈𝟒 = 𝟏
0 0 1 0.6 0.6 0.4
0 1 0.6 1 0.4 0.6
1 0 0.6 0.4 1 0.6
1 1 0.4 0.6 0.6 1
0,0 1,0
0,1
1,1
𝒙𝟏
𝒙𝟐
𝑡1
𝑡3
𝑡2
𝑡4
Radial Basis Network Architecture (XOR)
𝑥1
𝑥2
𝜑3(𝑋)
𝜑1(𝑋)
𝒕𝟏
𝒘𝟏
𝒘𝟐 ෝ
𝒚
1
𝒘𝟎 = 𝟎
σ 𝑓
𝜑2(𝑋)
𝜑4(𝑋)
𝒘𝟑
𝒘𝟒
𝒕𝟐
𝒕𝟑
𝒕𝟒
XOR ( 4 receptor points)
𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿
𝒕𝟏(𝟎, 𝟎)
𝝈𝟏 = 𝟏
𝝋𝟐 𝑿
𝒕𝟐(𝟎, 𝟏)
𝝈𝟐 = 𝟏
𝝋𝟑 𝑿
𝒕𝟑(𝟏, 𝟎)
𝝈𝟑 = 𝟏
𝝋𝟒 𝑿
𝒕𝟒(𝟏, 𝟏)
𝝈𝟒 = 𝟏
෍
𝒊=𝟏
𝟒
𝒘𝒊𝝋𝒊(𝑿)
Output
𝐟 ෍
𝒊=𝟏
𝟒
𝒘𝒊𝝋𝒊(𝑿))
0 0 1 0.6 0.6 0.4 -0.2 0
0 1 0.6 1 0.4 0.6 0.2 1
1 0 0.6 0.4 1 0.6 0.2 1
1 1 0.4 0.6 0.6 1 -0.2 0
𝒘𝒊 𝒘𝟏 = -1 𝒘𝟐 = 1 𝒘𝟑 = 1 𝒘𝟒 = -1
𝒇 𝒊𝒔 𝒉𝒂𝒓𝒅 𝒂𝒄𝒕𝒊𝒗𝒂𝒕𝒊𝒐𝒏 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏
0
1

More Related Content

What's hot

Extension principle
Extension principleExtension principle
Extension principle
Savo Delić
 
25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuous25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuous
Jyoti Parange
 

What's hot (20)

Merge sort algorithm
Merge sort algorithmMerge sort algorithm
Merge sort algorithm
 
Lecture 29 fuzzy systems
Lecture 29   fuzzy systemsLecture 29   fuzzy systems
Lecture 29 fuzzy systems
 
Introduction to toc and compiler
Introduction to toc and compilerIntroduction to toc and compiler
Introduction to toc and compiler
 
Knapsack Problem
Knapsack ProblemKnapsack Problem
Knapsack Problem
 
My Lecture Notes from Linear Algebra
My Lecture Notes fromLinear AlgebraMy Lecture Notes fromLinear Algebra
My Lecture Notes from Linear Algebra
 
recurence solutions
recurence solutionsrecurence solutions
recurence solutions
 
FUZZY LOGIC
FUZZY LOGICFUZZY LOGIC
FUZZY LOGIC
 
Optimization using soft computing
Optimization using soft computingOptimization using soft computing
Optimization using soft computing
 
Extension principle
Extension principleExtension principle
Extension principle
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
Mc culloch pitts neuron
Mc culloch pitts neuronMc culloch pitts neuron
Mc culloch pitts neuron
 
Lecture 15 monkey banana problem
Lecture 15 monkey banana problemLecture 15 monkey banana problem
Lecture 15 monkey banana problem
 
25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuous25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuous
 
Quick sort algorithm using slide presentation , Learn selection sort example ...
Quick sort algorithm using slide presentation , Learn selection sort example ...Quick sort algorithm using slide presentation , Learn selection sort example ...
Quick sort algorithm using slide presentation , Learn selection sort example ...
 
0-1 KNAPSACK PROBLEM
0-1 KNAPSACK PROBLEM0-1 KNAPSACK PROBLEM
0-1 KNAPSACK PROBLEM
 
TOC 5 | Regular Expressions
TOC 5 | Regular ExpressionsTOC 5 | Regular Expressions
TOC 5 | Regular Expressions
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
 
Svm
SvmSvm
Svm
 
Numerical solution of system of linear equations
Numerical solution of system of linear equationsNumerical solution of system of linear equations
Numerical solution of system of linear equations
 

Similar to Lecture 6 radial basis-function_network

A Signal Processing Approach To Fair Surface Design
A Signal Processing Approach To Fair Surface DesignA Signal Processing Approach To Fair Surface Design
A Signal Processing Approach To Fair Surface Design
Basel Abu-sinni
 

Similar to Lecture 6 radial basis-function_network (20)

Solving Poisson Equation using Conjugate Gradient Method and its implementation
Solving Poisson Equation using Conjugate Gradient Methodand its implementationSolving Poisson Equation using Conjugate Gradient Methodand its implementation
Solving Poisson Equation using Conjugate Gradient Method and its implementation
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagation
 
Paper study: Learning to solve circuit sat
Paper study: Learning to solve circuit satPaper study: Learning to solve circuit sat
Paper study: Learning to solve circuit sat
 
Deep learning study 2
Deep learning study 2Deep learning study 2
Deep learning study 2
 
Presentation
PresentationPresentation
Presentation
 
Optimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methodsOptimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methods
 
A Signal Processing Approach To Fair Surface Design
A Signal Processing Approach To Fair Surface DesignA Signal Processing Approach To Fair Surface Design
A Signal Processing Approach To Fair Surface Design
 
Generalized Laplace - Mellin Integral Transformation
Generalized Laplace - Mellin Integral TransformationGeneralized Laplace - Mellin Integral Transformation
Generalized Laplace - Mellin Integral Transformation
 
Linear regression, costs & gradient descent
Linear regression, costs & gradient descentLinear regression, costs & gradient descent
Linear regression, costs & gradient descent
 
Differential calculus
Differential calculus  Differential calculus
Differential calculus
 
Av 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background MaterialAv 738- Adaptive Filtering - Background Material
Av 738- Adaptive Filtering - Background Material
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
QTML2021 UAP Quantum Feature Map
QTML2021 UAP Quantum Feature MapQTML2021 UAP Quantum Feature Map
QTML2021 UAP Quantum Feature Map
 
Complex differentiation contains analytic function.pptx
Complex differentiation contains analytic function.pptxComplex differentiation contains analytic function.pptx
Complex differentiation contains analytic function.pptx
 
Some properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spacesSome properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spaces
 
Linear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependencyLinear Combination of vectors, Span and dependency
Linear Combination of vectors, Span and dependency
 
Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章
 
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
Periodic Solutions for Nonlinear Systems of Integro-Differential Equations of...
 
Higher order differential equation
Higher order differential equationHigher order differential equation
Higher order differential equation
 
Basic calculus (i)
Basic calculus (i)Basic calculus (i)
Basic calculus (i)
 

More from ParveenMalik18 (10)

Lecture 4 neural networks
Lecture 4 neural networksLecture 4 neural networks
Lecture 4 neural networks
 
Lecture 3 fuzzy inference system
Lecture 3  fuzzy inference systemLecture 3  fuzzy inference system
Lecture 3 fuzzy inference system
 
Lecture 2 fuzzy inference system
Lecture 2  fuzzy inference systemLecture 2  fuzzy inference system
Lecture 2 fuzzy inference system
 
Lecture 1 computational intelligence
Lecture 1  computational intelligenceLecture 1  computational intelligence
Lecture 1 computational intelligence
 
Chapter8
Chapter8Chapter8
Chapter8
 
Chapter6
Chapter6Chapter6
Chapter6
 
Chapter5
Chapter5Chapter5
Chapter5
 
Chapter3
Chapter3Chapter3
Chapter3
 
Chapter2
Chapter2Chapter2
Chapter2
 
Electrical and Electronic Measurement
Electrical and Electronic MeasurementElectrical and Electronic Measurement
Electrical and Electronic Measurement
 

Recently uploaded

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Lecture 6 radial basis-function_network

  • 1. Parveen Malik Assistant Professor KIIT University Neural Networks Radial Basis Function Network 𝑥1 𝑥2 𝑥2 𝑥2 𝑦1 𝑦2 𝑾(𝟏) 𝑾(𝟑)
  • 2. Radial Basis Function • Radial Basis functions are generally used to map the non-linearly seperable classes to linearly separable class. • We generally increase the dimensionality of the input feature vector. • Radial basis function (RBF) is real valued function 𝜑 whose value depends only on the distance between the input and some fixed point 𝒄. 𝝋 𝑿 = 𝑿 − 𝒄 • Different radial functions- 1. 𝜑 𝑟 = 𝑟2 + 𝑐2 Τ 1 2 𝑀𝑢𝑙𝑡𝑖𝑞𝑢𝑎𝑑𝑟𝑎𝑡𝑖𝑐 𝑤ℎ𝑒𝑟𝑒 𝒓 ∈ 𝑹 𝑎𝑛𝑑 𝒄 𝑖𝑠 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 2. 𝜑 𝑟 = 𝑒 −𝑟2 2𝜎2 𝐺𝑎𝑢𝑠𝑠𝑖𝑎𝑛 𝐹𝑢𝑛𝑐𝑡𝑖𝑜𝑛 3. φ 𝑟 = 1 𝑟2+𝑐2 Τ 1 2 𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝑄𝑢𝑎𝑑𝑟𝑎𝑡𝑖𝑐 • Radial basis functions generally used to generalized mathematical function as 𝒚 𝑿 = σ𝒊=𝟏 𝑵 𝒘𝒊𝝋 𝑿 − 𝑿𝒊 𝑊ℎ𝑒𝑟𝑒 𝒚 𝑿 𝑖𝑠 𝑎𝑝𝑝𝑟𝑜𝑥𝑖𝑚𝑎𝑡𝑖𝑛𝑔 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑎𝑛𝑑 𝑵 𝑖𝑠 𝑛𝑜. 𝑜𝑓 𝑅𝐵𝐹 𝑒𝑎𝑐ℎ 𝑎𝑠𝑠𝑜𝑐𝑖𝑎𝑡𝑒𝑑 𝑤𝑖𝑡ℎ 𝑐𝑒𝑛𝑡𝑒𝑟 𝑋𝑖
  • 3. Radial Basis Function Network • Radial basis function network can be used as kernels for approximating functions and recognizing patterns. • Developed by Michael. J. D. Powell in 1977 and applied to Machine Learning by David Broomhead and David Lowe in 1988. • Radial Basis functions use a layer which maps the non-linearly separable classes to linearly separable class.
  • 4. 𝒕𝟏 𝒕𝟐 𝒕𝑴 ∑ ⋮ ∑ Input Vector Dimension -P RBF Neurons Dim - M Weighted Sums RBF Network Architecture ⋮ 𝒕𝒊 → 𝑹𝒆𝒄𝒆𝒑𝒕𝒐𝒓 𝒐𝒓 𝒄𝒆𝒏𝒕𝒓𝒆 𝒑𝒐𝒊𝒏𝒕 Radial basis function 𝝋𝒊 𝑿 = 𝒆 − 𝑿−𝒕𝒊 𝟐 𝟐𝝈𝒊 𝟐 𝝋𝟏 𝑿 𝝋𝟐 𝑿 𝝋𝑴 𝑿
  • 5. Radial Basis Network Problem : Solve XOR problem with RBF network (Two receptor points) Solution : Step 1 – Choose receptor or centre points. Here , we choose 𝑡1 and 𝑡2. Step 2 – Now since there are two receptor points, we need to chose suitable radial basis function centred around 𝑡1(0,0) and 𝑡2(1,1). Let us select Gaussian function as 𝜑𝑖 𝑋 = 𝑒 − 𝑋−𝑡𝑖 2 2𝜎𝑖 2 & Let 𝜎𝑖 2 = 1. Step 3 – For input vector X (0,0) , 𝝋𝟏 𝑿 = 𝒆 − 𝑿−𝒕𝟏 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆 − (𝟎−𝟎)𝟐+ 𝟎−𝟎 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆−𝟎 = 𝟏 𝝋𝟐 𝑿 = 𝒆 − 𝑿−𝒕𝟐 𝟐 𝟐𝝈𝟐 𝟐 = 𝒆 − (𝟎−𝟏)𝟐+ 𝟎−𝟏 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆−𝟏 = 𝟎. 𝟒 For input vector X (0,1) , 𝝋𝟏 𝑿 = 𝒆 − 𝑿−𝒕𝟏 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆 − (𝟎−𝟎)𝟐+ 𝟏−𝟎 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆− Τ 𝟏 𝟐 = 𝟎. 𝟔 𝝋𝟐 𝑿 = 𝒆 − 𝑿−𝒕𝟐 𝟐 𝟐𝝈𝟐 𝟐 = 𝒆 − (𝟎−𝟏)𝟐+ 𝟏−𝟏 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆− Τ 𝟏 𝟐 = 𝟎. 𝟔 0,0 1,0 0,1 1,1 𝒙𝟏 𝒙𝟐 𝑡1 𝑡2
  • 6. Radial Basis Network XOR 𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿 𝝋𝟐 𝑿 0 0 1 0.4 0 1 0.6 0.6 1 0 0.6 0.6 1 1 0.4 1 𝝋𝟏 𝑿 0,0 1,0 0,1 1,1 𝒙𝟏 𝒙𝟐 (1,0.4) 1,0 𝝋𝟏 𝑿 (0.4,1) (0.6,0.6)
  • 7. Radial Basis Network Architecture (XOR) 𝒕𝟏 𝑥1 𝑥2 𝜑2(𝑋) 𝜑1(𝑋) 𝒕𝟐 𝒘𝟏 𝒘𝟐 RBF Layer Nodes Input Layer Nodes Output Layer Node ෝ 𝒚 1 𝒘𝟎 = 𝟐 σ 𝑓 We can also train the neural network (RBF layer to Output) with gradient descent rule XOR 𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿 𝝋𝟐 𝑿 ෍ 𝒊=𝟏 𝟒 𝒘𝒊𝝋𝒊(𝑿) ෍ 𝒊=𝟏 𝟒 𝒘𝒊𝝋𝒊 𝑿 + 𝒘𝟎 Output 0 0 1 0.4 -1.4 0.6 0 0 1 0.6 0.6 -1.2 0.8 1 1 0 0.6 0.6 -1.2 0.8 1 1 1 0.4 1 -1.2 0.6 0 𝒘𝒊 𝒘𝟏=-1 𝒘𝟐=-1 0.7 𝒇 𝒊𝒔 𝒉𝒂𝒓𝒅 𝒂𝒄𝒕𝒊𝒗𝒂𝒕𝒊𝒐𝒏 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏 centred at 0.7 𝒇 1
  • 8. Radial Basis Network (Four receptor points) Problem : Solve XOR problem with RBF network (Four receptor points) Solution : Step 1 – Choose receptor or centre points. Here , we choose 𝑡1 and 𝑡2. Step 2 – Now since there are two receptor points, we need to chose suitable radial basis function centred around 𝑡1(0,0) , 𝑡2(0,1) , 𝑡3(1,0) and 𝑡4(1,1). Let us select Gaussian function as 𝝋𝒊 𝑿 = 𝒆 − 𝑿−𝒕𝒊 𝟐 𝟐𝝈𝒊 𝟐 & 𝝈𝒊 𝟐 = 𝟏. Step 3 – For input vector X→ (0,0) , 𝝋𝟏 𝑿 = 𝒆 − 𝑿−𝒕𝟏 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆 − (𝟎−𝟎)𝟐+ 𝟎−𝟎 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆−𝟎 = 𝟏 𝝋𝟐 𝑿 = 𝒆 − 𝑿−𝒕𝟐 𝟐 𝟐𝝈𝟐 𝟐 = 𝒆 − (𝟎−𝟎)𝟐+ 𝟎−𝟏 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆 Τ −𝟏 𝟐 = 𝟎. 𝟔 𝝋𝟑 𝑿 = 𝒆 − 𝑿−𝒕𝟑 𝟐 𝟐𝝈𝟑 𝟐 = 𝒆 − (𝟎−𝟏)𝟐+ 𝟎−𝟏 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆−𝟏 = 𝟎. 𝟒 𝝋𝟒 𝑿 = 𝒆 − 𝑿−𝒕𝟑 𝟐 𝟐𝝈𝟐 𝟐 = 𝒆 − (𝟎−𝟏)𝟐+ 𝟎−𝟎 𝟐 𝟐 𝟐𝝈𝟏 𝟐 = 𝒆 Τ −𝟏 𝟐 = 𝟎. 𝟔 Similarly, we calculate 𝜑𝑖 𝑋 for other input vectors 0,0 1,0 0,1 1,1 𝒙𝟏 𝒙𝟐 𝑡1 𝑡3 𝑡2 𝑡4
  • 9. Radial Basis Network (XOR Problem with 4 RBF kernels) XOR (4 Receptor Points) 𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿 𝒕𝟏(𝟎, 𝟎) 𝝈𝟏 = 𝟏 𝝋𝟐 𝑿 𝒕𝟐(𝟎, 𝟏) 𝝈𝟐 = 𝟏 𝝋𝟑 𝑿 𝒕𝟑(𝟏, 𝟎) 𝝈𝟑 = 𝟏 𝝋𝟒 𝑿 𝒕𝟒(𝟏, 𝟏) 𝝈𝟒 = 𝟏 0 0 1 0.6 0.6 0.4 0 1 0.6 1 0.4 0.6 1 0 0.6 0.4 1 0.6 1 1 0.4 0.6 0.6 1 0,0 1,0 0,1 1,1 𝒙𝟏 𝒙𝟐 𝑡1 𝑡3 𝑡2 𝑡4
  • 10. Radial Basis Network Architecture (XOR) 𝑥1 𝑥2 𝜑3(𝑋) 𝜑1(𝑋) 𝒕𝟏 𝒘𝟏 𝒘𝟐 ෝ 𝒚 1 𝒘𝟎 = 𝟎 σ 𝑓 𝜑2(𝑋) 𝜑4(𝑋) 𝒘𝟑 𝒘𝟒 𝒕𝟐 𝒕𝟑 𝒕𝟒 XOR ( 4 receptor points) 𝒙𝟏 𝒙𝟐 𝝋𝟏 𝑿 𝒕𝟏(𝟎, 𝟎) 𝝈𝟏 = 𝟏 𝝋𝟐 𝑿 𝒕𝟐(𝟎, 𝟏) 𝝈𝟐 = 𝟏 𝝋𝟑 𝑿 𝒕𝟑(𝟏, 𝟎) 𝝈𝟑 = 𝟏 𝝋𝟒 𝑿 𝒕𝟒(𝟏, 𝟏) 𝝈𝟒 = 𝟏 ෍ 𝒊=𝟏 𝟒 𝒘𝒊𝝋𝒊(𝑿) Output 𝐟 ෍ 𝒊=𝟏 𝟒 𝒘𝒊𝝋𝒊(𝑿)) 0 0 1 0.6 0.6 0.4 -0.2 0 0 1 0.6 1 0.4 0.6 0.2 1 1 0 0.6 0.4 1 0.6 0.2 1 1 1 0.4 0.6 0.6 1 -0.2 0 𝒘𝒊 𝒘𝟏 = -1 𝒘𝟐 = 1 𝒘𝟑 = 1 𝒘𝟒 = -1 𝒇 𝒊𝒔 𝒉𝒂𝒓𝒅 𝒂𝒄𝒕𝒊𝒗𝒂𝒕𝒊𝒐𝒏 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏 0 1