Skip to content

YassineICHIRRI/BFO-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Bacterial Foraging Optimization ( BFO )


Introduction

Swarm algorihtm are optimization algorithmes that takes inspiration from the swarm behaviours of natural creatures in order to apply it to solve optimization problems more efficietly. From entities as small as an E.coli bacteria, researchers have been able to deduce mathematical relationships that are prone to solve one of todays prominent AI problems, which is the minimization of complexe multimodal functions.

BFO algorithm

E.coli bacteria exhibit sophisticated foraging behavior to locate, consume, and process nutrients. This behavior can be divided into four main processes:

  1. Chemotaxis: Movement of bacteria towards higher nutrient concentrations. Bacteria can tumble (change direction randomly) or swim (move in a direction).
  2. Swarming: Bacteria form a swarm to move collectively towards favorable environments.
  3. Reproduction: The population of bacteria increases in size by splitting the healthiest bacteria.
  4. Elimination and Dispersal: Bacteria are eliminated in some areas and dispersed to other areas to explore new environments.

BFO Implementation:

This repository contains two notebooks:

"Adaptive BFO.ipynb" : Contains a comparative study of the bacterial foraging algorithm and its adaptive variants.

"BFO notebook finale.ipynb" : Contains a comparison between BFO and SGD as well as a direct application of BFO in sentiment analysis.

For more information you can contact me via email : yassichirri@gmail.com or my linkedin in the bio, I'll be sure to help out. Take care!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published