Giter Club home page Giter Club logo

amld's Introduction

About

This is the codebase for the AMLD Introduction to Reinforcement Learning with applications to satellite scheduling problems.

Installation

Start by cloning the repository by running:

https://github.com/TheoLeFur/AMLD.git

Enter the project directory and create your virtual environment:

conda create -n your_env_name

Install the dependencies using:

pip3 install -r requirements.txt

Setup the project using

pip3 install -e .

Neural Combinatorial Optimisation

We will give a basic implementation of a neural network architecture, trained with Policy Gradients, to solve combinatorial optimization problems. In our case, we will show how the model performs on the Travelling Salesman Problem, an NP hard problem $\theta(n^2 2^n)$. We will be following the paper shared in the ressources.

Training

Run the training script from the scripts directory:

/bin/bash run_crbl.sh

One can see here a sample solution, for a model trained on 500000 random graphs, each having 16 nodes: Sample solution

Ressources

Neural Combinatorial Optimization with Reinforcement Learning

Policy Gradient Methods for Reinforcement Learning with Function Approximation

amld's People

Contributors

theolefur avatar

Watchers

 avatar

Forkers

userdarius

amld's Issues

Update Critics Architecture

Problem:

For now the only critic we use is a non-learned EMA of the average rewards. We want to be able to support other critic architectures.

To do:

Extrapolate the critic logic into BaseCritic module. Abstract the logic of critic updates into this module. For now, we will have:

  1. Simple EMA critic
  2. Learned baseline network using the pointing structure as in the actor, based on a sequential attention mechanism.

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.