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.
If you use the code, please cite following papers:
Dalwinder Singh and Birmohan Singh, "Hybridization of feature selection and feature weighting for high dimensional data", Applied Intelligence, Vol., 49, No. 4, pp: 1580-1596, 2019.
Dalwinder Singh, Birmohan Singh and Manpreet Kaur, "Simultaneous feature weighting and parameter determination of Neural Networks using Ant Lion Optimization for the classification of breast cancer," Biocybernetics and Biomedical Engineering, Vol. 40, Issue 1, Pages 337-351, 2020