SlideShare a Scribd company logo
1 of 67
Artificial Neural Networks
and Bio-inspired Algorithms
by
Dr. Venkatanareshbabu K
Dept. of CSE,
Assistant Professor,
NIT Goa
1
Introduction
• Bio-inspired computing represents the umbrella of different studies of
computer science, mathematics, and biology in the last years.
• Bio-inspired computing optimization algorithms is an emerging approach
which is based on the principles and inspiration of the biological evolution of
nature to develop new and robust competing techniques.
• In the last years, the bio-inspired optimization algorithms are recognized in
machine learning to address the optimal solutions of complex problems in
science and engineering.
Contd...
• A genetic algorithm (GA) is a method for solving both constrained
and unconstrained optimization problems based on a natural
selection process that mimics biological evolution. The algorithm
repeatedly modifies a population of individual solutions. At each
step, the genetic algorithm randomly selects individuals from the
current population and uses them as parents to produce the children
for the next generation. Over successive generations, the population
"evolves" toward an optimal solution.
• You can apply the genetic algorithm to solve problems that are not
well suited for standard optimization algorithms, including problems
in which the objective function is discontinuous, nondifferentiable,
stochastic, or highly nonlinear.
Genetic Algorithm
• 1) Concept of genetic algorithm.
• 2) Fitness function
• 3) Crossover
• 4) Mutation
4
Genetic Algorithms
• Basics are discussed below:
• Population: It is a subset of all encoded solutions to the given
problem.
• Chromosomes: A chromosome is one such solution to the
given problem.
• Gene: It is a one element position of a chromosome.
• Allele: It is the value of a gene takes for a particular
chromosome.
5
Chromosome-Modelling
6
Contd…
• Genotype: Genotype is the population in the computation
space. The solutions are represented in a easy way and
manipulated using a computation system.
• Phenotype: Phenotype is the population in real world solution
space in which solutions are represented in a way they are
represented in real world solutions.
• Genetic Operations: These alter the genetic composition of the
offspring. These include : Crossover, Mutation, Selection, etc.
7
Encoding & Decoding
8
Algorithm
Algorithm:
• Population initialization:
• Loop until termination criteria reached
• {
• Fitness function calculation
• Crossover
• Mutation
• Survivor selection
• }
• Terminate and return best.
9
Crossover Operations
10
Crossover_examples
Mutation Operations
12
Illustrations
13
Step-3
14
Step-4
15
16
17
18
1
2
3
4
19
20
21
22
PSO
• PSO is a stochastic optimization technique
developed by Dr. Eberhart and Dr.
Kennedy in 1995, inspired by social
behavior of bird flocking or fish schooling.
PSO
Algorithm
Similarities with PSO and GA
PSO-Code
PSO-Example
PSO-Example-Epoch1
Example-PSO-Epoch1
PSO-Epoch2
PSO-Epoch3
Artificial Neural Networks
34
35
Artificial Neuron and Biological Neuron[1]
36
Artificial Neuron and Biological Neuron[2]
8/26/2022 37
2. Back Propagation(BP)
1. Perceptron
3. Autoencoder
4. Deep Neural Network(DNN)
5. DNN implementation
Contents
8/26/2022 38
Let us learn Perceptron Algorithm
8/26/2022 39
40
8/26/2022 41
x1 x2 W11 W21 Comp
uted
Target delta ΔW11 ΔW21
0 0 0.1 0.3 0 0 0 0 0
0 1 0.1 0.3 0 1 1 0 0.2
1 0 0.1 0.5 0 1 1 0.2 0
1 1 0.3 0.5 1 1 0 0 0
Epoch 1
‘OR’ Problem
η=0.2= Learning rate
θ= 0.5= Threshold
x1 x2 Target
0 0 0
0 1 1
1 0 1
1 1 1
8/26/2022 42
x1 x2 W11 W21 Comp
uted
Target delta ΔW11 ΔW21
0 0 0.3 0.5 0 0 0 0 0
0 1 0.3 0.5 0 1 1 0 0.2
1 0 0.3 0.7 0 1 1 0.2 0
1 1 0.5 0.7 1 1 0 0 0
Epoch 2
8/26/2022 43
x1 x2 W11 W21 Comp
uted
Target delta ΔW11 ΔW21
0 0 0.5 0.7 0 0 0 0 0
0 1 0.5 0.7 1 1 0 0 0
1 0 0.5 0.7 0 1 1 0.2 0
1 1 0.7 0.7 1 1 0 0 0
Epoch 3
8/26/2022 44
x1 x2 W11 W21 Comp
uted
Target delta ΔW11 ΔW21
0 0 0.7 0.7 0 0 0 0 0
0 1 0.7 0.7 1 1 0 0 0
1 0 0.7 0.7 1 1 0 0 0
1 1 0.7 0.7 1 1 0 0 0
Epoch 4
45
X1 X2 X3 Target
0 0 0.1 0
0.9 1 0.6 1
1 0 0.2 0
1 1 0.8 1
How do you construct perceptron for the following data?
0.5
0.3
0.7
8/26/2022 46
Perceptron Algorithm works only for linearly separable
problem
Why?
8/26/2022 47
8/26/2022 48
49
What is bias in a neural network?
The activation function in Neural Networks takes an input 'x' multiplied
by a weight 'w'. Bias allows you to shift the activation function by
adding a constant (i.e. the given bias) to the input. Bias in Neural
Networks can be thought of as analogous to the role of a constant in a
linear function, whereby the line is effectively transposed by the
constant value.
50
X1 X2 bias Target
0 0 1 0
0 1 1 1
1 0 1 1
1 1 1 1
1
0.5
0.3
0.7
Bias in a neural network
L1
L2
8/26/2022 51
Let us learn BPAlgorithm
52
8/26/2022 53
x1 x2 Target
0.4 -0.7 0.1
0.3 -0.5 0.05
0.6 0.1 0.3
0.2 0.4 0.25
0.1 -0.2 0.12
Sample dataset
54
(Used in Perceptron)
(Used in Back Propagation)
8/26/2022 55
8/26/2022 56
8/26/2022 56
Weight Updating Equations:
Input to hidden :
hidden to output :
8/26/2022 57
O1= 0.47
δ1 = 0.005
O2= 0.45
δ2 = -0.0083
58
59
60
Bias in Back Propagation?
61
Autoencoder
1. Input and Output contains same number of features.
Fig: Architecture of Autoencoder
62
Dimensionality Reduction
A. Feature Selection
B. Feature Extraction
X1 X2 X3 X4 X5 X6
0.1 0.8 0.6 0.2 0.1 0.4
0.2 0.1 0.3 0.9 0.2 0.4
0.3 0.6 0.7 0.2 0.3 0.2
Y1 Y2 Y3
0.1 0.7 0.9
0.2 0.6 0.1
0.1 0.3 0.2
X1 X2 X3 X4 X5 X6
0.1 0.8 0.6 0.2 0.1 0.4
0.2 0.8 0.6 0.9 0.5 0.4
0.3 0.8 0.6 0.2 0.8 0.2
x1 x4 x5
0.1 0.2 0.1
0.2 0.9 0.5
0.3 0.2 0.8
63
X1 X2 X3 X4 X5 X6
0.1 0.8 0.6 0.2 0.1 0.4
0.2 0.1 0.3 0.9 0.2 0.4
0.3 0.6 0.7 0.2 0.3 0.2
Y1 Y2 Y3
0.1 0.7 0.9
0.2 0.6 0.1
0.1 0.3 0.2
64
Deep Neural Network
65
65
Deep Neural Network
1. Stack of Autoencoders.
References
• 1. Towardsdatascience.com
• 2. https://www.ee.co.za/article/application-of-machine-learning-
algorithms-in-boiler-plant-root-cause-analysis.html
• 3. Y. Bengio, P. Lamblin, D. Popovici, H. Larochelle, et al., Greedy
layer-wise training of deep networks, in: Advances in neural
information processing systems, 2007, pp. 153–160.
66
Thank You
67

More Related Content

Similar to Artificial Neural Networks_Bioinsspired_Algorithms_Nov 20.ppt

Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...sky chang
 
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptxssuser67281d
 
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSTHE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSijfcstjournal
 
Advanced Optimization Techniques
Advanced Optimization TechniquesAdvanced Optimization Techniques
Advanced Optimization TechniquesValerie Felton
 
ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO...
 ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO... ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO...
ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO...cscpconf
 
Find nuclei in images with U-net
Find nuclei in images with U-netFind nuclei in images with U-net
Find nuclei in images with U-netDing Li
 
Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...
Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...
Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...AI Publications
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationanurag singh
 
The New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective ProblemsThe New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective Problemsijfcstjournal
 
Knowledge extraction and visualisation using rule-based machine learning
Knowledge extraction and visualisation using rule-based machine learningKnowledge extraction and visualisation using rule-based machine learning
Knowledge extraction and visualisation using rule-based machine learningjaumebp
 
OpenCL applications in genomics
OpenCL applications in genomicsOpenCL applications in genomics
OpenCL applications in genomicsUSC
 
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...CSCJournals
 
Exploiting Worker Correlation for Label Aggregation in Crowdsourcing
Exploiting Worker Correlation for Label Aggregation in CrowdsourcingExploiting Worker Correlation for Label Aggregation in Crowdsourcing
Exploiting Worker Correlation for Label Aggregation in CrowdsourcingYuanLi589586
 
Overview of tree algorithms from decision tree to xgboost
Overview of tree algorithms from decision tree to xgboostOverview of tree algorithms from decision tree to xgboost
Overview of tree algorithms from decision tree to xgboostTakami Sato
 
Part 5 of RNA-seq for DE analysis: Detecting differential expression
Part 5 of RNA-seq for DE analysis: Detecting differential expressionPart 5 of RNA-seq for DE analysis: Detecting differential expression
Part 5 of RNA-seq for DE analysis: Detecting differential expressionJoachim Jacob
 
Evolutionary (deep) neural network
Evolutionary (deep) neural networkEvolutionary (deep) neural network
Evolutionary (deep) neural networkSoo-Yong Shin
 
Artificial Intelligence - 2
Artificial Intelligence - 2Artificial Intelligence - 2
Artificial Intelligence - 2Muhd Mu'izuddin
 

Similar to Artificial Neural Networks_Bioinsspired_Algorithms_Nov 20.ppt (20)

Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
 
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
2. NEURAL NETWORKS USING GENETIC ALGORITHMS.pptx
 
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSTHE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
 
Declarative data analysis
Declarative data analysisDeclarative data analysis
Declarative data analysis
 
Advanced Optimization Techniques
Advanced Optimization TechniquesAdvanced Optimization Techniques
Advanced Optimization Techniques
 
ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO...
 ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO... ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO...
ENHANCED BREAST CANCER RECOGNITION BASED ON ROTATION FOREST FEATURE SELECTIO...
 
Find nuclei in images with U-net
Find nuclei in images with U-netFind nuclei in images with U-net
Find nuclei in images with U-net
 
Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...
Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...
Prediction of Euro 50 Using Back Propagation Neural Network (BPNN) and Geneti...
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
The New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective ProblemsThe New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective Problems
 
Knowledge extraction and visualisation using rule-based machine learning
Knowledge extraction and visualisation using rule-based machine learningKnowledge extraction and visualisation using rule-based machine learning
Knowledge extraction and visualisation using rule-based machine learning
 
OpenCL applications in genomics
OpenCL applications in genomicsOpenCL applications in genomics
OpenCL applications in genomics
 
call for papers, research paper publishing, where to publish research paper, ...
call for papers, research paper publishing, where to publish research paper, ...call for papers, research paper publishing, where to publish research paper, ...
call for papers, research paper publishing, where to publish research paper, ...
 
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
 
Exploiting Worker Correlation for Label Aggregation in Crowdsourcing
Exploiting Worker Correlation for Label Aggregation in CrowdsourcingExploiting Worker Correlation for Label Aggregation in Crowdsourcing
Exploiting Worker Correlation for Label Aggregation in Crowdsourcing
 
Overview of tree algorithms from decision tree to xgboost
Overview of tree algorithms from decision tree to xgboostOverview of tree algorithms from decision tree to xgboost
Overview of tree algorithms from decision tree to xgboost
 
Part 5 of RNA-seq for DE analysis: Detecting differential expression
Part 5 of RNA-seq for DE analysis: Detecting differential expressionPart 5 of RNA-seq for DE analysis: Detecting differential expression
Part 5 of RNA-seq for DE analysis: Detecting differential expression
 
Evolutionary (deep) neural network
Evolutionary (deep) neural networkEvolutionary (deep) neural network
Evolutionary (deep) neural network
 
Artificial Intelligence - 2
Artificial Intelligence - 2Artificial Intelligence - 2
Artificial Intelligence - 2
 
Skin_Cancer.pptx
Skin_Cancer.pptxSkin_Cancer.pptx
Skin_Cancer.pptx
 

More from Anonymous9etQKwW

More from Anonymous9etQKwW (11)

os distributed system theoretical foundation
os distributed system theoretical foundationos distributed system theoretical foundation
os distributed system theoretical foundation
 
osi model computer networks complete detail
osi model computer networks complete detailosi model computer networks complete detail
osi model computer networks complete detail
 
CODch3Slides.ppt
CODch3Slides.pptCODch3Slides.ppt
CODch3Slides.ppt
 
IntroductoryPPT_CSE242.pptx
IntroductoryPPT_CSE242.pptxIntroductoryPPT_CSE242.pptx
IntroductoryPPT_CSE242.pptx
 
Intro.ppt
Intro.pptIntro.ppt
Intro.ppt
 
Big Data & Analytics (CSE6005) L6.pptx
Big Data & Analytics (CSE6005) L6.pptxBig Data & Analytics (CSE6005) L6.pptx
Big Data & Analytics (CSE6005) L6.pptx
 
Lecture 2 Hadoop.pptx
Lecture 2 Hadoop.pptxLecture 2 Hadoop.pptx
Lecture 2 Hadoop.pptx
 
mapreduceApril24.ppt
mapreduceApril24.pptmapreduceApril24.ppt
mapreduceApril24.ppt
 
ch7.ppt
ch7.pptch7.ppt
ch7.ppt
 
lecture 2.pptx
lecture 2.pptxlecture 2.pptx
lecture 2.pptx
 
Chap 4.ppt
Chap 4.pptChap 4.ppt
Chap 4.ppt
 

Recently uploaded

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
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 Bookingdharasingh5698
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
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.pdfKamal Acharya
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 

Recently uploaded (20)

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
(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
 
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
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
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
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
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
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 

Artificial Neural Networks_Bioinsspired_Algorithms_Nov 20.ppt

  • 1. Artificial Neural Networks and Bio-inspired Algorithms by Dr. Venkatanareshbabu K Dept. of CSE, Assistant Professor, NIT Goa 1
  • 2. Introduction • Bio-inspired computing represents the umbrella of different studies of computer science, mathematics, and biology in the last years. • Bio-inspired computing optimization algorithms is an emerging approach which is based on the principles and inspiration of the biological evolution of nature to develop new and robust competing techniques. • In the last years, the bio-inspired optimization algorithms are recognized in machine learning to address the optimal solutions of complex problems in science and engineering.
  • 3. Contd... • A genetic algorithm (GA) is a method for solving both constrained and unconstrained optimization problems based on a natural selection process that mimics biological evolution. The algorithm repeatedly modifies a population of individual solutions. At each step, the genetic algorithm randomly selects individuals from the current population and uses them as parents to produce the children for the next generation. Over successive generations, the population "evolves" toward an optimal solution. • You can apply the genetic algorithm to solve problems that are not well suited for standard optimization algorithms, including problems in which the objective function is discontinuous, nondifferentiable, stochastic, or highly nonlinear.
  • 4. Genetic Algorithm • 1) Concept of genetic algorithm. • 2) Fitness function • 3) Crossover • 4) Mutation 4
  • 5. Genetic Algorithms • Basics are discussed below: • Population: It is a subset of all encoded solutions to the given problem. • Chromosomes: A chromosome is one such solution to the given problem. • Gene: It is a one element position of a chromosome. • Allele: It is the value of a gene takes for a particular chromosome. 5
  • 7. Contd… • Genotype: Genotype is the population in the computation space. The solutions are represented in a easy way and manipulated using a computation system. • Phenotype: Phenotype is the population in real world solution space in which solutions are represented in a way they are represented in real world solutions. • Genetic Operations: These alter the genetic composition of the offspring. These include : Crossover, Mutation, Selection, etc. 7
  • 9. Algorithm Algorithm: • Population initialization: • Loop until termination criteria reached • { • Fitness function calculation • Crossover • Mutation • Survivor selection • } • Terminate and return best. 9
  • 16. 16
  • 17. 17
  • 19. 19
  • 20. 20
  • 21. 21
  • 22. 22
  • 23. PSO • PSO is a stochastic optimization technique developed by Dr. Eberhart and Dr. Kennedy in 1995, inspired by social behavior of bird flocking or fish schooling.
  • 24. PSO
  • 28.
  • 35. 35 Artificial Neuron and Biological Neuron[1]
  • 36. 36 Artificial Neuron and Biological Neuron[2]
  • 37. 8/26/2022 37 2. Back Propagation(BP) 1. Perceptron 3. Autoencoder 4. Deep Neural Network(DNN) 5. DNN implementation Contents
  • 38. 8/26/2022 38 Let us learn Perceptron Algorithm
  • 40. 40
  • 41. 8/26/2022 41 x1 x2 W11 W21 Comp uted Target delta ΔW11 ΔW21 0 0 0.1 0.3 0 0 0 0 0 0 1 0.1 0.3 0 1 1 0 0.2 1 0 0.1 0.5 0 1 1 0.2 0 1 1 0.3 0.5 1 1 0 0 0 Epoch 1 ‘OR’ Problem η=0.2= Learning rate θ= 0.5= Threshold x1 x2 Target 0 0 0 0 1 1 1 0 1 1 1 1
  • 42. 8/26/2022 42 x1 x2 W11 W21 Comp uted Target delta ΔW11 ΔW21 0 0 0.3 0.5 0 0 0 0 0 0 1 0.3 0.5 0 1 1 0 0.2 1 0 0.3 0.7 0 1 1 0.2 0 1 1 0.5 0.7 1 1 0 0 0 Epoch 2
  • 43. 8/26/2022 43 x1 x2 W11 W21 Comp uted Target delta ΔW11 ΔW21 0 0 0.5 0.7 0 0 0 0 0 0 1 0.5 0.7 1 1 0 0 0 1 0 0.5 0.7 0 1 1 0.2 0 1 1 0.7 0.7 1 1 0 0 0 Epoch 3
  • 44. 8/26/2022 44 x1 x2 W11 W21 Comp uted Target delta ΔW11 ΔW21 0 0 0.7 0.7 0 0 0 0 0 0 1 0.7 0.7 1 1 0 0 0 1 0 0.7 0.7 1 1 0 0 0 1 1 0.7 0.7 1 1 0 0 0 Epoch 4
  • 45. 45 X1 X2 X3 Target 0 0 0.1 0 0.9 1 0.6 1 1 0 0.2 0 1 1 0.8 1 How do you construct perceptron for the following data? 0.5 0.3 0.7
  • 46. 8/26/2022 46 Perceptron Algorithm works only for linearly separable problem Why?
  • 49. 49 What is bias in a neural network? The activation function in Neural Networks takes an input 'x' multiplied by a weight 'w'. Bias allows you to shift the activation function by adding a constant (i.e. the given bias) to the input. Bias in Neural Networks can be thought of as analogous to the role of a constant in a linear function, whereby the line is effectively transposed by the constant value.
  • 50. 50 X1 X2 bias Target 0 0 1 0 0 1 1 1 1 0 1 1 1 1 1 1 1 0.5 0.3 0.7 Bias in a neural network L1 L2
  • 51. 8/26/2022 51 Let us learn BPAlgorithm
  • 52. 52
  • 53. 8/26/2022 53 x1 x2 Target 0.4 -0.7 0.1 0.3 -0.5 0.05 0.6 0.1 0.3 0.2 0.4 0.25 0.1 -0.2 0.12 Sample dataset
  • 54. 54 (Used in Perceptron) (Used in Back Propagation)
  • 56. 8/26/2022 56 8/26/2022 56 Weight Updating Equations: Input to hidden : hidden to output :
  • 57. 8/26/2022 57 O1= 0.47 δ1 = 0.005 O2= 0.45 δ2 = -0.0083
  • 58. 58
  • 59. 59
  • 60. 60 Bias in Back Propagation?
  • 61. 61 Autoencoder 1. Input and Output contains same number of features. Fig: Architecture of Autoencoder
  • 62. 62 Dimensionality Reduction A. Feature Selection B. Feature Extraction X1 X2 X3 X4 X5 X6 0.1 0.8 0.6 0.2 0.1 0.4 0.2 0.1 0.3 0.9 0.2 0.4 0.3 0.6 0.7 0.2 0.3 0.2 Y1 Y2 Y3 0.1 0.7 0.9 0.2 0.6 0.1 0.1 0.3 0.2 X1 X2 X3 X4 X5 X6 0.1 0.8 0.6 0.2 0.1 0.4 0.2 0.8 0.6 0.9 0.5 0.4 0.3 0.8 0.6 0.2 0.8 0.2 x1 x4 x5 0.1 0.2 0.1 0.2 0.9 0.5 0.3 0.2 0.8
  • 63. 63 X1 X2 X3 X4 X5 X6 0.1 0.8 0.6 0.2 0.1 0.4 0.2 0.1 0.3 0.9 0.2 0.4 0.3 0.6 0.7 0.2 0.3 0.2 Y1 Y2 Y3 0.1 0.7 0.9 0.2 0.6 0.1 0.1 0.3 0.2
  • 65. 65 65 Deep Neural Network 1. Stack of Autoencoders.
  • 66. References • 1. Towardsdatascience.com • 2. https://www.ee.co.za/article/application-of-machine-learning- algorithms-in-boiler-plant-root-cause-analysis.html • 3. Y. Bengio, P. Lamblin, D. Popovici, H. Larochelle, et al., Greedy layer-wise training of deep networks, in: Advances in neural information processing systems, 2007, pp. 153–160. 66