image thumbnail

Firefly Feature Selection and optimization

version 1.0.0.0 (6.89 KB) by Abbas Manthiri S
This code use as optimization of data by row or coulmn

1.1K Downloads

Updated 24 Mar 2017

View License

The primary purpose for a firefly's flash is to act as a signal system to attract other fireflies. Xin-She Yang formulated this firefly algorithm by assuming:
All fireflies are unisexual, so that any individual firefly will be attracted to all other fireflies;
Attractiveness is proportional to their brightness, and for any two fireflies, the less bright one will be attracted by (and thus move towards) the brighter one; however, the intensity (apparent brightness) decrease as their mutual distance increases;
If there are no fireflies brighter than a given firefly, it will move randomly.
The brightness should be associated with the objective function.

Cite As

Abbas Manthiri S (2022). Firefly Feature Selection and optimization (https://www.mathworks.com/matlabcentral/fileexchange/62235-firefly-feature-selection-and-optimization), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

firefly selection/html/