In this code Ant Lion optimization is used to search the feature weights along with the optimal value of nearest neighbor parameter (i.e. k) simultaneously.
Run Main.m file for demo.
The feature weighting with ALO is implemented in FW_ALO.m file. Check this file for more details.
The source code and datasets are also available at GitHub: https://github.com/dalwindercheema/featweight
Singh, Dalwinder, and Birmohan Singh. “Hybridization of Feature Selection and Feature Weighting for High Dimensional Data.” Applied Intelligence, vol. 49, no. 4, Springer Science and Business Media LLC, Nov. 2018, pp. 1580–96, doi:10.1007/s10489-018-1348-2.
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Ant Lion Optimizer (ALO)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!