SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
PSOk-NN: A Particle Swarm Optimization
Approach to Optimize k-Nearest Neighbor
Classifier
Alaa Tharwat1,2,5, Aboul Ella Hassanien3,4,5
1Dept. of Electricity- Faculty of Engineering- Suez Canal University, Ismaalia, Egypt.
2Faculty of Engineering, Ain Shams University, Cairo, Egypt.
3Faculty of Computers Information, Cairo University, Cairo, Egypt.
4Faculty of Computers and Information, Beni Suef University - Egypt.
5Scientific Research Group in Egypt (SRGE) http://www.egyptscience.net.
Swarm Work Shop - Nov. 7, 2015
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 1 /
20
Agenda
Introduction
Theoretical Background.
Proposed Model.
Experimental Results.
Conclusions and Future Work
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 2 /
20
Introduction
In machine learning field, there are two main learning approaches,
namely, supervised and unsupervised learning approaches.
There are two main techniques of supervised learning, namely,
regression and classification.
In the unsupervised approach, the targets or responses of the input
data are not required to build the model.
There are many types of classifiers, but k-Nearest Neighbour (k-NN)
classifier is one of the oldest and simplest classifier.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 3 /
20
Theoretical Background k-Nearest Neighbour (k-NN) Classifier
k-Nearest Neighbour (k-NN) is one of the most common and simple
methods for pattern classification.
In k-NN classifier, an unknown pattern is distinguished or classified
based on the similarity to the known samples (i.e. labelled or training
samples) by computing the distances from the unknown sample to all
labelled samples and select the k-nearest samples as the basis for
classification.
The unknown sample is assigned to the class containing the most
samples among the k-nearest samples (i.e. voting), thus, the k
parameter must be odd.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 4 /
20
Theoretical Background Particle Swarm Optimization (PSO)
The main objective of the PSO algorithm is to search in the search
space for the positions which are close to the global minimum or
maximum solution.
In PSO algorithm, a number of particles, agents, or elements which
represent the solutions are randomly placed in the search space. The
number of particles is determined by a user.
The current location or position of each particle is used to calculate
the objective or fitness function at that location.
Each particle has three values, namely, position (xi ∈ Rn), velocity
(vi), the previous best positions (pi), and (G) which represents the
position of the best fitness value achieved.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 5 /
20
Theoretical Background Particle Swarm Optimization (PSO)
The velocity of each particle is adjusted in each iteration as shown in
Equation (1).
The movement of any particle is then calculated by adding the
velocity and the current position of that particle as in Equation (2).
vi
(t+1) = Current Motion + Particle Memory Influnce + Swarm Influnce
vi
(t+1) = wvi
(t) + C1r1(pi
t − xi
(t)) + C2r2(G − xi
(t))
(1)
xi
(t+1) = xi
(t) + vi
(t+1) (2)
where w represents the inertia weight, C1 is the cognition learning factor,
C2 is the social learning factors, r1, r2 are the uniformly generated
random numbers in the range of [0 , 1].
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 6 /
20
Theoretical Background Particle Swarm Optimization (PSO)
x(t)
i
x(t+1)
i
x(t)
j
x(t+1)
j
G
P(t)
i
P(t)
j
v(t)
i
v(t)
j
v(t+1)
i
v(t+1) j
vp
i
vp
j
vG
i
vG
j
Particle 1 (Current Position)
Particle 1 (Next Position)
Particle 2 (Current Position)
Particle 2 (Next Position)
Original Velocity
Velocity to Pbest
Velocity to G
Resultant Velocity
(a)
x(t)
i
G
xi
(t+1)
xj
(t+1)
x(t)
j
P(t)
j
P(t)
i
`
(b)
Figure: An example to show how two particles are move using PSO algorithm,
(a) general movement of the two particles, (b) movement of two particle in
one-dimensional space.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 7 /
20
Proposed Model: PSOk-NN
Particle Swarm Optimization (PSO)
TraininigC
Samples
kCParameter
MisclassificationCRate
fB
fG
B G < Y ? 6 7 8 9
B
G
<
Y
?
6
7
8
k=B
k=<
k=?
ClassCBC
ClassCGC
ClassCG
ClassCG
ClassCB
IntializeCPSO
ForCEachCParticle
UpdateCVelocityCdvi
V
UpdateCPositionCdxi
V
EvaluateCFitnessC
FunctionCdFdxi
VV
SatisfyC
TerminationC
Criterion
NextC
Iteration
BestCSloutionCdGV
IfCdFdxi
V<FdPi
VV
Pi
=xi
IfCdFdxi
V<FdGVV
G=xi
NextCParticle
No
Yes
Testing
Samples
TestingC
?
Figure: PSOk-NN algorithm searches for the optimal k parameter which
minimizes the misclassification rate of the testing samples.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 8 /
20
Experimental Results Simulated Example
Table: Description of the training data used in our simulated example.
Pattern
No.
Class 1
(ω1)
Class 2
(ω2)
f1 f2 f1 f2
1 7 1 3 3
2 5 2 4 4
3 9 2 7 4
4 10 4 5 5
5 8 4 6 5
6 11 4 6 10
7 9 9 4 11
8 9 11 2 11
9 10 9 2 6
10 8 6 5 9
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 9 /
20
Experimental Results Simulated Example
k=1
k=3
k=5
k=7
f1
f2
1 2 3 4 5 6 7 8 9 10 11 12
1
2
3
4
5
6
7
8
9
10
11
12
k=1
k=3
k=5
k=7
k=9
C2 (false)
C2 (false)
C1 (true)
C1 (true)
C2 (false)
Value
of k
Predicted
Class Label
Class 1 (Training Pattern)
Class 1 (Testing Pattern)
Class 2 (Training Pattern)
Class 2 (Testing Pattern)
k=9
Figure: Example of how k parameter controls the predicted class labels of the
unknown sample, hence controls the misclassification rate.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 10 /
20
Experimental Results Simulated Example
Table: Description of the testing data used in our simulated example and its
predicted class labels using k-NN classifier using different values of k.
Testing Samples True Class
Label (yi)
Predicted Class Labels (ˆyi)
No. of
Sample
f1 f2 k=1 k=3 k=5 k=7 k=9
1 7 9 1 2 2 1 1 2
2 4 2 2 1 2 2 2 2
3 9 3 1 1 1 1 1 1
4 2 7 2 2 2 2 2 2
Misclassification Rate (%) 50 25 0 0 25
The bold values indicate the wrong class label.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 11 /
20
Experimental Results Simulated Example
Initial Values
Particle
No.
Position (xi) Velocity (vi)
Fitness
Function (F)
Pi G
1 1 0 100 - -
2 9 0 100 - -
3 5 0 100 - -
4 3 0 100 - -
First Iteration
1 1 5.6 50 1 -
2 9 -5.6 25 9 -
3 5 0 0 5 G
4 3 2.8 25 3 -
Second Iteration
1 5 3.36 0 5 G
2 5 -3.36 0 5 G
3 5 0 0 5 G
4 5 -1.68 0 5 G
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 12 /
20
Experimental Results Simulated Example
ParticleS1
ParticleS2S
ParticleS3S
ParticleS4S
k=1 k=3 k=5 k=7 k=9
F(x1
)=50x1
F(x2
)=25x2
F(x3
)=0x3
F(x4
)=25x4
MisclassificationSRateS(6)
0
25
50
FirstSIteration
k=1 k=3 k=5 k=7 k=9
MisclassificationSRateS(6)
0
25
50
SecondSIteration
v2
=-5.6
v1
=5.6
v4
=2.8
v3
=0
Figure: Visualization of how PSO algorithm searches for the best k value which
achieves the minimum misclassification rate.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 13 /
20
Experimental Results Experiments Using Real Data
Table: Data sets description.
Data set Dimension Samples Classes
Iris 4 150 3
Ionosphere 34 351 2
Liver-disorders 6 345 2
Ovarian 4000 216 2
Breast Cancer 13 683 2
Wine 13 178 3
Sonar 60 208 2
Pima Indians Diabetes 8 768 2
ORL32×32 1024 400 40
Yale32×32 1024 165 15
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 14 /
20
Experimental Results Experiments Using Real Data
Dataset
PSOk-NN GAk-NN ACOk-NN
Misclassification Rate Misclassification Rate Misclassification Rate
Iris 1.4667±0.4216 4±0 2.6667±0
Iono 13.1429±0 17.1429±0 16.9143±0.5521
Liver 30.9302±1.4708 31.9767.±0 35.4651±7.4898×10−15
Ovarian 13.0556±0.2928 14.2321±0.2145 13.8889±0
Breast Cancer 30.3021±(0.8037) 31.0850±7.4898×10−15 32.2581±7.4898×10−15
Wine 23.0899±0 24.7191±3.7449×10−15 28.3146±0.7106
Sonar 17.45±0 21.1538±0 17.3077±2.0271
Diabate 24.7448±0.9025 22.9167±3.7449×10−15 26.0417±7.4898×10−15
ORL32×32 8.5±0 9.5±0 8.5±0
Yale32×32 21.9512±3.7449×10−15 21.9512±3.7449×10−15 25.8537±0.7713
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 15 /
20
Experimental Results Experiments Using Real Data
0 10 20 30 40 50 60 70 80 90 100
0
200
400
600
800
1000
1200
1400
1600
1800
No. of Iterations
TotalAbsoluteVelocity
Iono Dataset
Iris Dataset
Sonar Dataset
Figure: Toal absolute velocity of the PSOk-NN algorithm using Iono, Iris, and
Sonar datasets.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 16 /
20
Experimental Results Experiments Using Real Data
0 5 10 15 20 25 30 35 40
2
3
4
5
6
7
8
9
10
k Value
FitnessFunction
PSO particles
(a) After the first iteration
0 10 20 30 40 50 60 70 80
0
10
20
30
40
50
60
70
k ValueFitnessFunction
PSO particles
(b) After the second
iteration
0 0.5 1 1.5 2
0
0.5
1
1.5
2
2.5
k Value
FitnessFunction
PSO particles
(c) After the tenth iteration
Figure: Visualization of the movements of all particles of PSOk-NN algorithm
till it reaches to the optimal solution which achieved the minimum
misclassification rate.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 17 /
20
Experimental Results Experiments Using Real Data
−4 −3 −2 −1 0 1 2 3 4
−2
−1.5
−1
−0.5
0
0.5
1
1.5
2
First Feature
SecondFeature
setosa
versicolor
virginica
(a) After the first iteration
−4 −3 −2 −1 0 1 2 3 4
−2
−1.5
−1
−0.5
0
0.5
1
1.5
2
First Feature
SecondFeature
setosa
versicolor
virginica
(b) After the tenth iteration
Figure: Misclassification samples after the first and tenth iterations using
PSOk-NN algorithm.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 18 /
20
Conclusions
PSOk-NN algorithm achieved the minimum misclassification error in
eight of the datasets (80%) compared with the other two algorithms.
PSOk-NN algorithm converges to the optimal solution faster than
the other two algorithms due to the use of linearly decreasing inertia
weight in PSO algorithm.
GAk-NN fluctuating up and down, while PSOk-NN algorithm is more
stable during converging to the optimal solution because in PSO, the
best solution gives information to all other particles to move to the
optimal solution, while in GA the all agents are changed randomly
without any guiding from any agent.
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 19 /
20
Thank you
Thank You
Qurstions
Alaa Tharwat1,2,5
, Aboul Ella Hassanien3,4,5
Swarm Work Shop - Nov. 7, 2015 20 /
20

Weitere ähnliche Inhalte

Was ist angesagt?

A New Multi-Objective Mixed-Discrete Particle Swarm Optimization Algorithm
A New Multi-Objective Mixed-Discrete Particle Swarm Optimization AlgorithmA New Multi-Objective Mixed-Discrete Particle Swarm Optimization Algorithm
A New Multi-Objective Mixed-Discrete Particle Swarm Optimization AlgorithmWeiyang Tong
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in EngineeringPrince Jain
 
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesDriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesZubin Bhuyan
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationMahesh Tibrewal
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationHanya Mohammed
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimizationmidhulavijayan
 
metaheuristic tabu pso
metaheuristic tabu psometaheuristic tabu pso
metaheuristic tabu psoheba_ahmad
 
A new hybrid particle swarm optimization with variable neighborhood search fo...
A new hybrid particle swarm optimization with variable neighborhood search fo...A new hybrid particle swarm optimization with variable neighborhood search fo...
A new hybrid particle swarm optimization with variable neighborhood search fo...Aboul Ella Hassanien
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationSuman Chatterjee
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationMahyar Mohaghegh
 
Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Maad M. Mijwil
 
Optimization of Unit Commitment Problem using Classical Soft Computing Techni...
Optimization of Unit Commitment Problem using Classical Soft Computing Techni...Optimization of Unit Commitment Problem using Classical Soft Computing Techni...
Optimization of Unit Commitment Problem using Classical Soft Computing Techni...IRJET Journal
 
Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...
Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...
Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...Weiyang Tong
 
Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeRajorshi Mukherjee
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationAbhishek Agrawal
 

Was ist angesagt? (20)

A New Multi-Objective Mixed-Discrete Particle Swarm Optimization Algorithm
A New Multi-Objective Mixed-Discrete Particle Swarm Optimization AlgorithmA New Multi-Objective Mixed-Discrete Particle Swarm Optimization Algorithm
A New Multi-Objective Mixed-Discrete Particle Swarm Optimization Algorithm
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in Engineering
 
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesDriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
PSO.ppt
PSO.pptPSO.ppt
PSO.ppt
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
 
metaheuristic tabu pso
metaheuristic tabu psometaheuristic tabu pso
metaheuristic tabu pso
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
A new hybrid particle swarm optimization with variable neighborhood search fo...
A new hybrid particle swarm optimization with variable neighborhood search fo...A new hybrid particle swarm optimization with variable neighborhood search fo...
A new hybrid particle swarm optimization with variable neighborhood search fo...
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Bic pso
Bic psoBic pso
Bic pso
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...
 
Optimization of Unit Commitment Problem using Classical Soft Computing Techni...
Optimization of Unit Commitment Problem using Classical Soft Computing Techni...Optimization of Unit Commitment Problem using Classical Soft Computing Techni...
Optimization of Unit Commitment Problem using Classical Soft Computing Techni...
 
Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...
Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...
Multi-Domain Diversity Preservation to Mitigate Particle Stagnation and Enab...
 
Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi Mukherjee
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 

Andere mochten auch

Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applicationsadil raja
 
Particle Swarm Optimization and it's Applications in Electromagnetics
Particle Swarm Optimization and it's Applications in ElectromagneticsParticle Swarm Optimization and it's Applications in Electromagnetics
Particle Swarm Optimization and it's Applications in ElectromagneticsSwapnil Gaul
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationanurag singh
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...Politeknik Negeri Ujung Pandang
 
Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO) Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO) Engr Nosheen Memon
 

Andere mochten auch (7)

Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
 
Particle Swarm Optimization and it's Applications in Electromagnetics
Particle Swarm Optimization and it's Applications in ElectromagneticsParticle Swarm Optimization and it's Applications in Electromagnetics
Particle Swarm Optimization and it's Applications in Electromagnetics
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING PARTICLE SWARM ...
PROPOSED FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING PARTICLE SWARM ...
 
Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO) Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO)
 
Automated vehicles and transport systems
Automated vehicles and transport systemsAutomated vehicles and transport systems
Automated vehicles and transport systems
 

Ähnlich wie PSOk-NN: A Particle Swarm Optimization Approach to Optimize k-Nearest Neighbor Classi er

An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...
An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...
An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...IJRESJOURNAL
 
safe and efficient off policy reinforcement learning
safe and efficient off policy reinforcement learningsafe and efficient off policy reinforcement learning
safe and efficient off policy reinforcement learningRyo Iwaki
 
An automatic test data generation for data flow
An automatic test data generation for data flowAn automatic test data generation for data flow
An automatic test data generation for data flowWafaQKhan
 
Multimodal Residual Learning for Visual Question-Answering
Multimodal Residual Learning for Visual Question-AnsweringMultimodal Residual Learning for Visual Question-Answering
Multimodal Residual Learning for Visual Question-AnsweringNAVER D2
 
2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_fariaPaulo Faria
 
My presentation at University of Nottingham "Fast low-rank methods for solvin...
My presentation at University of Nottingham "Fast low-rank methods for solvin...My presentation at University of Nottingham "Fast low-rank methods for solvin...
My presentation at University of Nottingham "Fast low-rank methods for solvin...Alexander Litvinenko
 
Learning to discover monte carlo algorithm on spin ice manifold
Learning to discover monte carlo algorithm on spin ice manifoldLearning to discover monte carlo algorithm on spin ice manifold
Learning to discover monte carlo algorithm on spin ice manifoldKai-Wen Zhao
 
Stochastic optimization from mirror descent to recent algorithms
Stochastic optimization from mirror descent to recent algorithmsStochastic optimization from mirror descent to recent algorithms
Stochastic optimization from mirror descent to recent algorithmsSeonho Park
 
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHMADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHMWireilla
 
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHMADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHMijfls
 
A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...Aboul Ella Hassanien
 
Imecs2012 pp440 445
Imecs2012 pp440 445Imecs2012 pp440 445
Imecs2012 pp440 445Rasha Orban
 
An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...
An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...
An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...Fabricio de França
 
Introduction to Chainer Chemistry
Introduction to Chainer ChemistryIntroduction to Chainer Chemistry
Introduction to Chainer ChemistryPreferred Networks
 
increasing the action gap - new operators for reinforcement learning
increasing the action gap - new operators for reinforcement learningincreasing the action gap - new operators for reinforcement learning
increasing the action gap - new operators for reinforcement learningRyo Iwaki
 

Ähnlich wie PSOk-NN: A Particle Swarm Optimization Approach to Optimize k-Nearest Neighbor Classi er (20)

An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...
An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...
An Improved Adaptive Multi-Objective Particle Swarm Optimization for Disassem...
 
safe and efficient off policy reinforcement learning
safe and efficient off policy reinforcement learningsafe and efficient off policy reinforcement learning
safe and efficient off policy reinforcement learning
 
An automatic test data generation for data flow
An automatic test data generation for data flowAn automatic test data generation for data flow
An automatic test data generation for data flow
 
Multimodal Residual Learning for Visual Question-Answering
Multimodal Residual Learning for Visual Question-AnsweringMultimodal Residual Learning for Visual Question-Answering
Multimodal Residual Learning for Visual Question-Answering
 
2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria
 
My presentation at University of Nottingham "Fast low-rank methods for solvin...
My presentation at University of Nottingham "Fast low-rank methods for solvin...My presentation at University of Nottingham "Fast low-rank methods for solvin...
My presentation at University of Nottingham "Fast low-rank methods for solvin...
 
Learning to discover monte carlo algorithm on spin ice manifold
Learning to discover monte carlo algorithm on spin ice manifoldLearning to discover monte carlo algorithm on spin ice manifold
Learning to discover monte carlo algorithm on spin ice manifold
 
Stochastic optimization from mirror descent to recent algorithms
Stochastic optimization from mirror descent to recent algorithmsStochastic optimization from mirror descent to recent algorithms
Stochastic optimization from mirror descent to recent algorithms
 
Genetic Algorithm for Solving Balanced Transportation Problem
Genetic Algorithm for Solving Balanced  Transportation ProblemGenetic Algorithm for Solving Balanced  Transportation Problem
Genetic Algorithm for Solving Balanced Transportation Problem
 
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHMADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
 
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHMADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
ADAPTIVE FUZZY KERNEL CLUSTERING ALGORITHM
 
A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...
 
Imecs2012 pp440 445
Imecs2012 pp440 445Imecs2012 pp440 445
Imecs2012 pp440 445
 
An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...
An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...
An Artificial Immune Network for Multimodal Function Optimization on Dynamic ...
 
Introduction to Chainer Chemistry
Introduction to Chainer ChemistryIntroduction to Chainer Chemistry
Introduction to Chainer Chemistry
 
increasing the action gap - new operators for reinforcement learning
increasing the action gap - new operators for reinforcement learningincreasing the action gap - new operators for reinforcement learning
increasing the action gap - new operators for reinforcement learning
 
Particle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power SystemParticle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power System
 
ML基本からResNetまで
ML基本からResNetまでML基本からResNetまで
ML基本からResNetまで
 
922214 e002013
922214 e002013922214 e002013
922214 e002013
 
Issta13 workshop on debugging
Issta13 workshop on debuggingIssta13 workshop on debugging
Issta13 workshop on debugging
 

Mehr von Aboul Ella Hassanien

الأطر والمبادئ الاخلاقية للذكاء الاصطناعي التوليدى.pdf
الأطر والمبادئ الاخلاقية  للذكاء الاصطناعي التوليدى.pdfالأطر والمبادئ الاخلاقية  للذكاء الاصطناعي التوليدى.pdf
الأطر والمبادئ الاخلاقية للذكاء الاصطناعي التوليدى.pdfAboul Ella Hassanien
 
دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية المعر...
دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية  المعر...دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية  المعر...
دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية المعر...Aboul Ella Hassanien
 
حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...
حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...
حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...Aboul Ella Hassanien
 
الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...
الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...
الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...Aboul Ella Hassanien
 
Intelligent Avatars in the Metaverse.pptx
Intelligent Avatars in the Metaverse.pptxIntelligent Avatars in the Metaverse.pptx
Intelligent Avatars in the Metaverse.pptxAboul Ella Hassanien
 
دليل البحث العلمى .pdf
دليل البحث العلمى .pdfدليل البحث العلمى .pdf
دليل البحث العلمى .pdfAboul Ella Hassanien
 
الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات
الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات
الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات Aboul Ella Hassanien
 
الصحافة والإعلام الرقمى فى عصر الذكاء الاصطناعي
الصحافة والإعلام الرقمى  فى عصر الذكاء الاصطناعي  الصحافة والإعلام الرقمى  فى عصر الذكاء الاصطناعي
الصحافة والإعلام الرقمى فى عصر الذكاء الاصطناعي Aboul Ella Hassanien
 
الميتافيرس و مستقبل التعليم فى الوطن العربى
الميتافيرس و مستقبل التعليم فى الوطن العربى الميتافيرس و مستقبل التعليم فى الوطن العربى
الميتافيرس و مستقبل التعليم فى الوطن العربى Aboul Ella Hassanien
 
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنيةالذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنيةAboul Ella Hassanien
 
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنيةالذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنيةAboul Ella Hassanien
 
التغير المناخى للاطفال
التغير المناخى للاطفالالتغير المناخى للاطفال
التغير المناخى للاطفالAboul Ella Hassanien
 
الذكاء الاصطناعى للاطفال
الذكاء الاصطناعى للاطفالالذكاء الاصطناعى للاطفال
الذكاء الاصطناعى للاطفالAboul Ella Hassanien
 
إستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسى
إستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسىإستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسى
إستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسىAboul Ella Hassanien
 
الإقتصاد الأخضر لمواجهة التغيرات المناخية
الإقتصاد الأخضر لمواجهة التغيرات المناخية  الإقتصاد الأخضر لمواجهة التغيرات المناخية
الإقتصاد الأخضر لمواجهة التغيرات المناخية Aboul Ella Hassanien
 
الإستخدام المسؤول للذكاء الإصطناعى فى سياق تغيرالمناخ خارطة طريق فى عال...
   الإستخدام المسؤول للذكاء الإصطناعى  فى سياق تغيرالمناخ   خارطة طريق فى عال...   الإستخدام المسؤول للذكاء الإصطناعى  فى سياق تغيرالمناخ   خارطة طريق فى عال...
الإستخدام المسؤول للذكاء الإصطناعى فى سياق تغيرالمناخ خارطة طريق فى عال...Aboul Ella Hassanien
 
الذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسية
الذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسيةالذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسية
الذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسيةAboul Ella Hassanien
 
الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى
الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى
الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى Aboul Ella Hassanien
 

Mehr von Aboul Ella Hassanien (20)

الأطر والمبادئ الاخلاقية للذكاء الاصطناعي التوليدى.pdf
الأطر والمبادئ الاخلاقية  للذكاء الاصطناعي التوليدى.pdfالأطر والمبادئ الاخلاقية  للذكاء الاصطناعي التوليدى.pdf
الأطر والمبادئ الاخلاقية للذكاء الاصطناعي التوليدى.pdf
 
دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية المعر...
دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية  المعر...دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية  المعر...
دعوة للاستخدام المسؤول للذكاء الاصطناعي التوليدي في الأوساط الأكاديمية المعر...
 
حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...
حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...
حوار مع الأستاذ الدكتور أبو العلا عطيفى حسنين - تقنية الذكاء الاصطناعي تحول م...
 
الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...
الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...
الطاقة من الفضاء: علماء ينقلون الطاقة الشمسية إلى الأرض عن طريق الفضاء لأول م...
 
Intelligent Avatars in the Metaverse.pptx
Intelligent Avatars in the Metaverse.pptxIntelligent Avatars in the Metaverse.pptx
Intelligent Avatars in the Metaverse.pptx
 
دليل البحث العلمى .pdf
دليل البحث العلمى .pdfدليل البحث العلمى .pdf
دليل البحث العلمى .pdf
 
SRGE photo.pdf
SRGE photo.pdfSRGE photo.pdf
SRGE photo.pdf
 
الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات
الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات
الذكاء الإصطناعى وافاقه فى التعليم على مستوى الوطن العربى: مستوى السياسات
 
الصحافة والإعلام الرقمى فى عصر الذكاء الاصطناعي
الصحافة والإعلام الرقمى  فى عصر الذكاء الاصطناعي  الصحافة والإعلام الرقمى  فى عصر الذكاء الاصطناعي
الصحافة والإعلام الرقمى فى عصر الذكاء الاصطناعي
 
الميتافيرس و مستقبل التعليم فى الوطن العربى
الميتافيرس و مستقبل التعليم فى الوطن العربى الميتافيرس و مستقبل التعليم فى الوطن العربى
الميتافيرس و مستقبل التعليم فى الوطن العربى
 
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنيةالذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنية
 
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنيةالذكاء الأصطناعى المسؤول ومستقبل  الأمن المناخى وانعكاساته الاجتماعية والأمنية
الذكاء الأصطناعى المسؤول ومستقبل الأمن المناخى وانعكاساته الاجتماعية والأمنية
 
التغير المناخى للاطفال
التغير المناخى للاطفالالتغير المناخى للاطفال
التغير المناخى للاطفال
 
الذكاء الاصطناعى للاطفال
الذكاء الاصطناعى للاطفالالذكاء الاصطناعى للاطفال
الذكاء الاصطناعى للاطفال
 
إستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسى
إستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسىإستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسى
إستراتيجية مصر للتنمية المستدامة: نحو جائزة الإبتكار والإبداع المؤسسى
 
الإقتصاد الأخضر لمواجهة التغيرات المناخية
الإقتصاد الأخضر لمواجهة التغيرات المناخية  الإقتصاد الأخضر لمواجهة التغيرات المناخية
الإقتصاد الأخضر لمواجهة التغيرات المناخية
 
الإستخدام المسؤول للذكاء الإصطناعى فى سياق تغيرالمناخ خارطة طريق فى عال...
   الإستخدام المسؤول للذكاء الإصطناعى  فى سياق تغيرالمناخ   خارطة طريق فى عال...   الإستخدام المسؤول للذكاء الإصطناعى  فى سياق تغيرالمناخ   خارطة طريق فى عال...
الإستخدام المسؤول للذكاء الإصطناعى فى سياق تغيرالمناخ خارطة طريق فى عال...
 
الذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسية
الذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسيةالذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسية
الذكاء الإصطناعي والتغيرات المناخية والبيئية:الفرص والتحديات والأدوات السياسية
 
الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى
الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى
الذكاء الاصطناعى:أسلحة لا تنام وآفاق لا تنتهى
 
اقتصاد ميتافيرس
اقتصاد ميتافيرساقتصاد ميتافيرس
اقتصاد ميتافيرس
 

Kürzlich hochgeladen

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
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
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
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
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 

Kürzlich hochgeladen (20)

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
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
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
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
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 

PSOk-NN: A Particle Swarm Optimization Approach to Optimize k-Nearest Neighbor Classi er

  • 1. PSOk-NN: A Particle Swarm Optimization Approach to Optimize k-Nearest Neighbor Classifier Alaa Tharwat1,2,5, Aboul Ella Hassanien3,4,5 1Dept. of Electricity- Faculty of Engineering- Suez Canal University, Ismaalia, Egypt. 2Faculty of Engineering, Ain Shams University, Cairo, Egypt. 3Faculty of Computers Information, Cairo University, Cairo, Egypt. 4Faculty of Computers and Information, Beni Suef University - Egypt. 5Scientific Research Group in Egypt (SRGE) http://www.egyptscience.net. Swarm Work Shop - Nov. 7, 2015 Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 1 / 20
  • 2. Agenda Introduction Theoretical Background. Proposed Model. Experimental Results. Conclusions and Future Work Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 2 / 20
  • 3. Introduction In machine learning field, there are two main learning approaches, namely, supervised and unsupervised learning approaches. There are two main techniques of supervised learning, namely, regression and classification. In the unsupervised approach, the targets or responses of the input data are not required to build the model. There are many types of classifiers, but k-Nearest Neighbour (k-NN) classifier is one of the oldest and simplest classifier. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 3 / 20
  • 4. Theoretical Background k-Nearest Neighbour (k-NN) Classifier k-Nearest Neighbour (k-NN) is one of the most common and simple methods for pattern classification. In k-NN classifier, an unknown pattern is distinguished or classified based on the similarity to the known samples (i.e. labelled or training samples) by computing the distances from the unknown sample to all labelled samples and select the k-nearest samples as the basis for classification. The unknown sample is assigned to the class containing the most samples among the k-nearest samples (i.e. voting), thus, the k parameter must be odd. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 4 / 20
  • 5. Theoretical Background Particle Swarm Optimization (PSO) The main objective of the PSO algorithm is to search in the search space for the positions which are close to the global minimum or maximum solution. In PSO algorithm, a number of particles, agents, or elements which represent the solutions are randomly placed in the search space. The number of particles is determined by a user. The current location or position of each particle is used to calculate the objective or fitness function at that location. Each particle has three values, namely, position (xi ∈ Rn), velocity (vi), the previous best positions (pi), and (G) which represents the position of the best fitness value achieved. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 5 / 20
  • 6. Theoretical Background Particle Swarm Optimization (PSO) The velocity of each particle is adjusted in each iteration as shown in Equation (1). The movement of any particle is then calculated by adding the velocity and the current position of that particle as in Equation (2). vi (t+1) = Current Motion + Particle Memory Influnce + Swarm Influnce vi (t+1) = wvi (t) + C1r1(pi t − xi (t)) + C2r2(G − xi (t)) (1) xi (t+1) = xi (t) + vi (t+1) (2) where w represents the inertia weight, C1 is the cognition learning factor, C2 is the social learning factors, r1, r2 are the uniformly generated random numbers in the range of [0 , 1]. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 6 / 20
  • 7. Theoretical Background Particle Swarm Optimization (PSO) x(t) i x(t+1) i x(t) j x(t+1) j G P(t) i P(t) j v(t) i v(t) j v(t+1) i v(t+1) j vp i vp j vG i vG j Particle 1 (Current Position) Particle 1 (Next Position) Particle 2 (Current Position) Particle 2 (Next Position) Original Velocity Velocity to Pbest Velocity to G Resultant Velocity (a) x(t) i G xi (t+1) xj (t+1) x(t) j P(t) j P(t) i ` (b) Figure: An example to show how two particles are move using PSO algorithm, (a) general movement of the two particles, (b) movement of two particle in one-dimensional space. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 7 / 20
  • 8. Proposed Model: PSOk-NN Particle Swarm Optimization (PSO) TraininigC Samples kCParameter MisclassificationCRate fB fG B G < Y ? 6 7 8 9 B G < Y ? 6 7 8 k=B k=< k=? ClassCBC ClassCGC ClassCG ClassCG ClassCB IntializeCPSO ForCEachCParticle UpdateCVelocityCdvi V UpdateCPositionCdxi V EvaluateCFitnessC FunctionCdFdxi VV SatisfyC TerminationC Criterion NextC Iteration BestCSloutionCdGV IfCdFdxi V<FdPi VV Pi =xi IfCdFdxi V<FdGVV G=xi NextCParticle No Yes Testing Samples TestingC ? Figure: PSOk-NN algorithm searches for the optimal k parameter which minimizes the misclassification rate of the testing samples. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 8 / 20
  • 9. Experimental Results Simulated Example Table: Description of the training data used in our simulated example. Pattern No. Class 1 (ω1) Class 2 (ω2) f1 f2 f1 f2 1 7 1 3 3 2 5 2 4 4 3 9 2 7 4 4 10 4 5 5 5 8 4 6 5 6 11 4 6 10 7 9 9 4 11 8 9 11 2 11 9 10 9 2 6 10 8 6 5 9 Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 9 / 20
  • 10. Experimental Results Simulated Example k=1 k=3 k=5 k=7 f1 f2 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 k=1 k=3 k=5 k=7 k=9 C2 (false) C2 (false) C1 (true) C1 (true) C2 (false) Value of k Predicted Class Label Class 1 (Training Pattern) Class 1 (Testing Pattern) Class 2 (Training Pattern) Class 2 (Testing Pattern) k=9 Figure: Example of how k parameter controls the predicted class labels of the unknown sample, hence controls the misclassification rate. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 10 / 20
  • 11. Experimental Results Simulated Example Table: Description of the testing data used in our simulated example and its predicted class labels using k-NN classifier using different values of k. Testing Samples True Class Label (yi) Predicted Class Labels (ˆyi) No. of Sample f1 f2 k=1 k=3 k=5 k=7 k=9 1 7 9 1 2 2 1 1 2 2 4 2 2 1 2 2 2 2 3 9 3 1 1 1 1 1 1 4 2 7 2 2 2 2 2 2 Misclassification Rate (%) 50 25 0 0 25 The bold values indicate the wrong class label. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 11 / 20
  • 12. Experimental Results Simulated Example Initial Values Particle No. Position (xi) Velocity (vi) Fitness Function (F) Pi G 1 1 0 100 - - 2 9 0 100 - - 3 5 0 100 - - 4 3 0 100 - - First Iteration 1 1 5.6 50 1 - 2 9 -5.6 25 9 - 3 5 0 0 5 G 4 3 2.8 25 3 - Second Iteration 1 5 3.36 0 5 G 2 5 -3.36 0 5 G 3 5 0 0 5 G 4 5 -1.68 0 5 G Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 12 / 20
  • 13. Experimental Results Simulated Example ParticleS1 ParticleS2S ParticleS3S ParticleS4S k=1 k=3 k=5 k=7 k=9 F(x1 )=50x1 F(x2 )=25x2 F(x3 )=0x3 F(x4 )=25x4 MisclassificationSRateS(6) 0 25 50 FirstSIteration k=1 k=3 k=5 k=7 k=9 MisclassificationSRateS(6) 0 25 50 SecondSIteration v2 =-5.6 v1 =5.6 v4 =2.8 v3 =0 Figure: Visualization of how PSO algorithm searches for the best k value which achieves the minimum misclassification rate. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 13 / 20
  • 14. Experimental Results Experiments Using Real Data Table: Data sets description. Data set Dimension Samples Classes Iris 4 150 3 Ionosphere 34 351 2 Liver-disorders 6 345 2 Ovarian 4000 216 2 Breast Cancer 13 683 2 Wine 13 178 3 Sonar 60 208 2 Pima Indians Diabetes 8 768 2 ORL32×32 1024 400 40 Yale32×32 1024 165 15 Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 14 / 20
  • 15. Experimental Results Experiments Using Real Data Dataset PSOk-NN GAk-NN ACOk-NN Misclassification Rate Misclassification Rate Misclassification Rate Iris 1.4667±0.4216 4±0 2.6667±0 Iono 13.1429±0 17.1429±0 16.9143±0.5521 Liver 30.9302±1.4708 31.9767.±0 35.4651±7.4898×10−15 Ovarian 13.0556±0.2928 14.2321±0.2145 13.8889±0 Breast Cancer 30.3021±(0.8037) 31.0850±7.4898×10−15 32.2581±7.4898×10−15 Wine 23.0899±0 24.7191±3.7449×10−15 28.3146±0.7106 Sonar 17.45±0 21.1538±0 17.3077±2.0271 Diabate 24.7448±0.9025 22.9167±3.7449×10−15 26.0417±7.4898×10−15 ORL32×32 8.5±0 9.5±0 8.5±0 Yale32×32 21.9512±3.7449×10−15 21.9512±3.7449×10−15 25.8537±0.7713 Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 15 / 20
  • 16. Experimental Results Experiments Using Real Data 0 10 20 30 40 50 60 70 80 90 100 0 200 400 600 800 1000 1200 1400 1600 1800 No. of Iterations TotalAbsoluteVelocity Iono Dataset Iris Dataset Sonar Dataset Figure: Toal absolute velocity of the PSOk-NN algorithm using Iono, Iris, and Sonar datasets. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 16 / 20
  • 17. Experimental Results Experiments Using Real Data 0 5 10 15 20 25 30 35 40 2 3 4 5 6 7 8 9 10 k Value FitnessFunction PSO particles (a) After the first iteration 0 10 20 30 40 50 60 70 80 0 10 20 30 40 50 60 70 k ValueFitnessFunction PSO particles (b) After the second iteration 0 0.5 1 1.5 2 0 0.5 1 1.5 2 2.5 k Value FitnessFunction PSO particles (c) After the tenth iteration Figure: Visualization of the movements of all particles of PSOk-NN algorithm till it reaches to the optimal solution which achieved the minimum misclassification rate. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 17 / 20
  • 18. Experimental Results Experiments Using Real Data −4 −3 −2 −1 0 1 2 3 4 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 First Feature SecondFeature setosa versicolor virginica (a) After the first iteration −4 −3 −2 −1 0 1 2 3 4 −2 −1.5 −1 −0.5 0 0.5 1 1.5 2 First Feature SecondFeature setosa versicolor virginica (b) After the tenth iteration Figure: Misclassification samples after the first and tenth iterations using PSOk-NN algorithm. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 18 / 20
  • 19. Conclusions PSOk-NN algorithm achieved the minimum misclassification error in eight of the datasets (80%) compared with the other two algorithms. PSOk-NN algorithm converges to the optimal solution faster than the other two algorithms due to the use of linearly decreasing inertia weight in PSO algorithm. GAk-NN fluctuating up and down, while PSOk-NN algorithm is more stable during converging to the optimal solution because in PSO, the best solution gives information to all other particles to move to the optimal solution, while in GA the all agents are changed randomly without any guiding from any agent. Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 19 / 20
  • 20. Thank you Thank You Qurstions Alaa Tharwat1,2,5 , Aboul Ella Hassanien3,4,5 Swarm Work Shop - Nov. 7, 2015 20 / 20