GithubHelp home page GithubHelp logo

zephyr0402 / reinforcement-learning-with-nn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kevinbdsouza/reinforcement-learning-with-nn

0.0 0.0 0.0 16.22 MB

Trains a robot in a robocode using Q-learning and Neural Networks

Java 62.75% Python 37.06% MATLAB 0.19%

reinforcement-learning-with-nn's Introduction

This code trains a robot in a robocode environment using Reinforcement Learning approach in specific Q-learning algorithm. (For more information about robocode see Robocode.

Overview

LookUpTable

NeuralNetwork

Note: The neural network learns Q-value and the corresponding state action pair online.

Getting Started

  1. Install Robocode (check link for installation )
  2. Make sure you include your robocode environment variable in your IDE
  3. Put the robots either in the robot folder (The robot folder can be found under the directory where robocode is installed)
  4. Start the battle with the one of the RL robot and choose an enemy robot.
  5. While testing set the greedy boolean variable to true

Dependencies

  • Robocode
  • Java
  • Eclipse (or other IDE, make sure you have added Robocode environment variable) Note: Change the package name to the one you have created.

reinforcement-learning-with-nn's People

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.