Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/misterzurg/itmo_evolutionary_computing

🧬 Labs from ITMO; Dis - EC
https://github.com/misterzurg/itmo_evolutionary_computing

big-data-and-ml evolutionary-computation itmo-labs

Last synced: about 1 month ago
JSON representation

🧬 Labs from ITMO; Dis - EC

Awesome Lists containing this project

README

        

> [!NOTE]
> Here are our labs from ITMO Third semester

# Discipline
Evolutionary Computing

## Instructors
[Mikhail Melnik](https://github.com/HighExecutor) Associate Professor of Digital Transformation

## Labs
### Lab 1 Introduction to evolutionary computation
> Goal is to edit Genetic Algorithm setup in such a way that the algorithm would be able to solve classic optimization function (shifted reversed Rastrigin function).
> You need to set dimension to 100. Don't forget this. This will increase complexity of function.
> The maximum value that you can achieve is 10.0, but lets say you want to achieve results with quality > 9.5.

### Lab 2 Designing an evolutionary algorithm for the queen placement problem
> Implement solving of Queens Puzzle with evolutionary algorithm. For example, [genetic algorithm](https://en.wikipedia.org/wiki/Eight_queens_puzzle).
> The goal is to design algorithm that would solve queens puzzle with at least 8x8 board. But you can try bigger sizes. As a pattern you can use the same script as for 1st assignment, but modify all required things to work with discrete problem. It is > important to design how you will encode solution (how you represent a solution in a code) and design correspond mutation\crossover operators.
> Try to print in console your best found solution at the end of your script.

### Lab 3 CartPole Left Right.
> You need to change classic CartPole environment in such a wat that it will have a goal (0 or 1) and Cart should balance the Pole in correspond sides of platform (0 - left, 1 - right). The goal implementation is already provided for you. The main goal is to implement reward function that will helps agent to do this.
>
> 1. You can find a template project with scripts for :
> - CartPoleEnv with implemented goal (left or right)
> - Train script with RLLib
> - Script for replaying rllib checkpoint
> 2. You need to implement reward function in CartPoleEnv script in such a way that your Cart will balance Pole on specific side of platform depending on the goal. For example if goal is 0 then Pole must be balances on left side. There is no hard restirictions for how far it should be, but far is better (in range -2.4 to 2.4)
> 3. You need to train it with RLLib (template is given) and send me a simple report with plots from tensorboard (generated by RLLib) and video with your result. (Demo is attached here).

## Refs
- [Manual for labs](https://books.ifmo.ru/file/pdf/2389.pdf) kinda
- [GitLab with some Labs](https://gitlab.com/itmo_ec_labs)