Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Application of Whale Optimization Algorithm (WOA) in the feature selection tasks.

License

NotificationsYou must be signed in to change notification settings

JingweiToo/Whale-Optimization-Algorithm-for-Feature-Selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

View Whale Optimization Algorithm for Feature Selection on File ExchangeLicenseGitHub release

Wheel

Introduction

  • This toolbox offers a Whale Optimization Algorithm ( WOA ) method
  • TheMain script illustrates the example of how WOA can solve the feature selection problem using benchmark dataset

Input

  • feat : feature vector ( Instancesx Features )
  • label : label vector ( Instancesx 1 )
  • N : number of whales
  • max_Iter : maximum number of iterations

Output

  • sFeat : selected features
  • Sf : selected feature index
  • Nf : number of selected features
  • curve : convergence curve

Example

% Benchmark data set load ionosphere.mat;% Set 20% data as validation setho = 0.2; % Hold-out methodHO = cvpartition(label,'HoldOut',ho);% Parameter settingN        = 10; max_Iter = 100; % Whale Optimization Algorithm[sFeat,Sf,Nf,curve] = jWOA(feat,label,N,max_Iter,HO);% AccuracyAcc = jKNN(sFeat,label,HO); fprintf('\n Accuracy: %g %%',Acc); % Plot convergence curveplot(1:max_Iter,curve); xlabel('Number of Iterations');ylabel('Fitness Value');title('WOA'); grid on;

Requirement

  • MATLAB 2014 or above
  • Statistics and Machine Learning Toolbox

Cite As

@article{too2021spatial,  title={Spatial bound whale optimization algorithm: an efficient high-dimensional feature selection approach},  author={Too, Jingwei and Mafarja, Majdi and Mirjalili, Seyedali},  journal={Neural Computing and Applications},  pages={1--22},  year={2021},  publisher={Springer}}

About

Application of Whale Optimization Algorithm (WOA) in the feature selection tasks.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp