Skip to content

The task accompanying the Optimization workshop at AGH AI Days.

Notifications You must be signed in to change notification settings

WojtAcht/snake_optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake optimization

Install dependencies:

git clone https://github.com/WojtAcht/snake_optimization.git
cd snake_optimization
python -m venv myvenv
myvenv\Scripts\activate.bat
pip install -r requirements.txt

Tasks:

  1. Run main.py, investigate the code in main.py and brain.py.
  2. Complete the implementation of PSO algorithm (useful links: [1] and [2]).
  3. Increase the number of epochs, tune PSO hyperparameters: $w$, $c_1$, $c_2$.
  4. Generate random parameters $r_1$ and $r_2$ for each particle or once per epoch. Compare the results.
  5. Adjust PSO - remove part that uses particle's best position. Compare the results. Why do we need both parts (global and local)?

About

The task accompanying the Optimization workshop at AGH AI Days.

Resources

Stars

Watchers

Forks

Languages