GithubHelp home page GithubHelp logo

swetshaw / genetic-algorithm-band-selection Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 7.0 5.69 MB

Python 100.00%
genetic-algorithm genetic-optimization-algorithm band-selection hyperspectral-analysis hyperspectral-band-selection remote-sensing hyperspectral-imaging genetic-algorithm-python python

genetic-algorithm-band-selection's Introduction

genetic-algorithm-band-selection

This repository contains the program to perform band selection for hyperspectral images. Here we have used Indian_pines dataset from - http://www.ehu.eus/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes#Indian_Pines

ga_utility.py

  • This is a utility file. It contains all the functions required to implement the genetic algorithm for band selection for hyperspectral images

geneticalgorithm.py

  • This file contains the driver code for running the program.

  • In this program we are selecting 10 bands out of 200 bands using genetic algorithm.

  • The population consists of 8 individuals

  • Each individual has 10 genes.

For running the program run -

$ python geneticalgorithm.py

If you want to use your own dataset change it in the ga_utility.py file.

genetic-algorithm-band-selection's People

Contributors

swetshaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

genetic-algorithm-band-selection's Issues

genetic-algorithm-band-selection

Researcher
This code is taking longer time to execute
Also with some warnings
Even tried with google colab also
please give some execution tips

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.