Skip to content

Deep Reinforcement Learning in Rust is a modular framework implementing key reinforcement learning algorithms in the Rust programming language. It supports both model-based and model-free approaches, and provides custom training environments such as Grid World, Line World, Tic-Tac-Toe, and Bobail.

License

Notifications You must be signed in to change notification settings

Mileristovski/AI-DeepReinforcementLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Reinforcement Learning in Rust

Overview

This project implements a collection of Deep Reinforcement Learning (DRL) algorithms in Rust.
It provides a modular architecture for training, evaluating, and comparing various model-based and model-free methods across several custom environments.


Features

✅ Implemented Algorithms

Model-Based:

  • Expert Apprentice
  • Monte Carlo

Model-Free:

  • Proximal Policy Optimization (PPO)
  • Q-Learning
  • REINFORCE
  • SARSA

🌍 Environments

  • Line World
  • Grid World
  • Tic-Tac-Toe
  • Bobail (African traditional game)

Requirements

  • Rust (Stable)
  • CUDA (Optional, for GPU acceleration)
  • Ensure libtorch environment variables are properly configured if using CUDA

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/deep-rl-rust.git
    cd deep-rl-rust
  2. Build the project:

    cargo build --release

Usage

Run the project with:

cargo run --release

Configure algorithm/environment via code or future CLI options.


Contributions

Contributions are welcome!
Feel free to fork the repo, suggest improvements, or submit a pull request.


License

This project is licensed under the MIT License.
See the LICENSE file for details.


🚀 Happy Reinforcement Learning!

About

Deep Reinforcement Learning in Rust is a modular framework implementing key reinforcement learning algorithms in the Rust programming language. It supports both model-based and model-free approaches, and provides custom training environments such as Grid World, Line World, Tic-Tac-Toe, and Bobail.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages