GithubHelp home page GithubHelp logo

shawn-bo / pso-stuff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anuwu/pso-stuff

0.0 0.0 0.0 4.44 MB

Various PSO implementations. Check https://arxiv.org/abs/2006.09875

Python 49.03% Jupyter Notebook 50.97%

pso-stuff's Introduction

EMPSO, FCPSO and CRNGs

Contains implementation of EMPSO by Mohapatra et. al.

Also contains implementation of three variants of FCPSO -

  • FCPSO is SMPSO adapted to single-objective problems.
  • FCPSO-em-Beta is SMPSO with exponentially-averaged momentum drawn from a uniform range of the momentum parameter that makes it fairly constricted.
  • FCPSO-em-Omega is also a fairly constricted PSO algorithm, but the momentum parameter distribution is non-uniform

There is also an implementation of Chaotic Random Number Generators (CRNG) in the module chaosGen.py. Below is an example of the CRNG.

alt text

The aim of EMPSO is for gradient approximation in neural networks. We have tested EMPSO on simple 1 dimensional objective functions for the accuracy of its gradient. It has worked well on a highly non-linear and multimodal Rastrigin function. Please check this notebook for the demo.

alt text

This repository also contains the implementation of a novel PSO algorithm named Reverse-Informed Locally-Searched PSO. A demo of this PSO variant can be found in this notebook. The special feature of this variant is that it is capable of detecting multiple equally fit global optima. Please refer to the details of which can be found here.

alt text

pso-stuff's People

Contributors

anuwu avatar anuj-n avatar

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.