File Exchange

image thumbnail

Binary Particle Swarm Optimization for Feature Selection

version 1.0.3 (58.7 KB) by Jingwei Too
Simple algorithm shows how binary particle swarm optimization (BPSO) used in feature selection problem.

55 Downloads

Updated 30 Jun 2019

View License

I provide a simple binary particle swarm optimization (BPSO) for feature selection tasks, which can select the potential features to improve the classification accuracy.

The "Main" script demos an example on how to use BPSO with classification error rate (computed by KNN) as the fitness function for feature selection problem using benchmark data-set.

********************************************************************************************************************
Detail of BPSO can be found in paper:
(1) Too, J.; Abdullah, A.R.; Mohd Saad, N. A New Co-Evolution Binary Particle Swarm Optimization with Multiple Inertia Weight Strategy for Feature Selection. Informatics 2019, 6, 21.

Cite As

Jingwei Too (2019). Binary Particle Swarm Optimization for Feature Selection (https://www.mathworks.com/matlabcentral/fileexchange/71470-binary-particle-swarm-optimization-for-feature-selection), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Updates

1.0.3

Changes Vmin=-Vmax

1.0.2

-

1.0.1

Add convergence plot

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Binary Particle Swarm Optimization for Feature Selection