Giter Club home page Giter Club logo

jingweitoo / binary-harris-hawk-optimization-for-feature-selection Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 88 KB

The binary version of Harris Hawk Optimization (HHO), called Binary Harris Hawk Optimization (BHHO) is applied for feature selection tasks.

License: BSD 3-Clause "New" or "Revised" License

MATLAB 100.00%
feature-selection classification dimensionality-reduction harris-hawks-optimization machine-learning data-mining optimization

binary-harris-hawk-optimization-for-feature-selection's Introduction

Binary Harris Hawk Optimization for Feature Selection

View Binary Harris Hawk Optimization for Feature Selection on File Exchange License GitHub release

Wheel

Introduction

  • This toolbox offers Binary Harris Hawk Optimization ( BHHO )
  • The Main file illustrates the example of how BHHO can solve the feature selection problem using benchmark data-set.

Input

  • feat : feature vector ( Instances x Features )
  • label : label vector ( Instances x 1 )
  • N : number of hawks
  • 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 set
ho = 0.2; 
% Hold-out method
HO = cvpartition(label,'HoldOut',ho);

% Parameter setting
N        = 10; 
max_Iter = 100;
% Binary Harris Hawk Optimization
[sFeat,Sf,Nf,curve] = jBHHO(feat,label,N,max_Iter,HO);

% Plot convergence curve
plot(1:max_Iter,curve);
xlabel('Number of iterations');
ylabel('Fitness Value');
title('BHHO'); grid on;

Requirement

  • MATLAB 2014 or above
  • Statistics and Machine Learning Toolbox

Cite As

@article{too2019new,
  title={A new quadratic binary harris hawk optimization for feature selection},
  author={Too, Jingwei and Abdullah, Abdul Rahim and Mohd Saad, Norhashimah},
  journal={Electronics},
  volume={8},
  number={10},
  pages={1130},
  year={2019},
  publisher={Multidisciplinary Digital Publishing Institute}
}

binary-harris-hawk-optimization-for-feature-selection's People

Contributors

jingweitoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

binary-harris-hawk-optimization-for-feature-selection's Issues

Can you convert it to python code?

Hi. Currently, I'm looking at your "Binary Harris Hawk Optimization" algorithm source code. I am very interested in this algorithm. Can you convert it to python code? Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.