File Exchange

image thumbnail

Ant Colony Optimization for Feature Selection

version 1.0.7 (58.4 KB) by Jingwei Too
Application of ant colony optimization (ACO) for feature selection problems.

12 Downloads

Updated 30 Jul 2020

View Version History

View License

This toolbox offers ant colony optimization (ACO) method

The "Main" script illustrates the example of how ACO can solve the feature selection problem using benchmark data-set.

**********************************************************************************************************************************

Cite As

Jingwei Too (2020). Ant Colony Optimization for Feature Selection (https://www.mathworks.com/matlabcentral/fileexchange/71989-ant-colony-optimization-for-feature-selection), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Jingwei Too

Dear Dominix,
I have tested the code and it should have no issue. The issue might because of your data. You need to make your sure your feature vector and labels are in the same format as feat and label of the benchmark dataset.

dominix

Thanks for the helpful code. Can I ask about the reason of this error: Error in jACO>jRouletteWheelSelection (line 94)
C=cumsum(Prob);

Output argument "Route" (and maybe others) not assigned
during call to "jACO>jRouletteWheelSelection".

Error in jACO (line 57)
SP=jRouletteWheelSelection(Prob);

Error in loadMatDataFolder (line 35)
[sFeat,Nf,Sf,curve]=jACO(data(:,1:end-1),data(:,end),N,T,tau,eta,alpha,beta,rho,phi,Nf);

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

Community Treasure Hunt

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

Start Hunting!

Ant Colony Optimization for Feature Selection