Giter Site home page Giter Site logo

cs4246-blackjack's Introduction

Black Jack Reinforcement Learning Agents

This repository contains a set of reinforcement learning agents trained to play the game of Black Jack. The agents are trained using policy gradient and Deep Q-Network.

Setup

Install requirements:

pip install -r requirements.txt

Project Structure

The project is structured as follows:

.
├── game  # contains the Black Jack game environment
├── models  # contains the trained models and training logs
├── training  # contains notebooks used for training and evaluation

Agents

All trained models are located in the models directory. The following models are available:

Agent Description
dqn_final Deep Q-Network agent
dqn_final_no_counting DQN agent trained without card counting features
policy_steps Policy Gradient agent
policy_steps_no_counting Policy Gradient agent trained without card counting features

Training logs are also available in the models directory, named as *_training_scores.txt

cs4246-blackjack's People

Contributors

tanpinxi avatar tcqian avatar jargonx avatar nightraven49 avatar

Stargazers

 avatar ShipItParrot avatar James Chua avatar

Watchers

 avatar  avatar ShipItParrot avatar

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.