Giter Club home page Giter Club logo

analogy_of_reinforcement_learning's Introduction

Udacity Machine Learning Engineer Nanodegree Capstone Project

Requirements:

  1. python 3.5+
  2. openAi.gym (pip install gym)

Running the agents

use python <agent_name>.py to execute the agent. The list of various agents is given in the project structure\code of this Read_Me.

project Structure

Code

Cartpole

  1. Random_exploration : random_guessing.py : shows results if the env is enxplored randomly without any learning agent. (code\cartpole\random_guessing.py)
  2. Q_learning: Q_learning_agent.py : Creates apolicy iteration Q_learning model and genrates the respective Q_table while learning and produces the reeepctive results.(code\cartpole\Q_learning_agent.py)
  3. Deep_Q_learning : DQN_model_1.py : Creates a Deep_Q_learning agent and trains it to play the game. (code\cartpole\DQN_model_1.py)

Mountain_Car

  1. Random_exploration : random_guessing.py : shows results if the env is enxplored randomly without any learning agent.(code\Mountain_car\random_guessing.py)
  2. Q_learning: Q_learning_agent.py : Creates apolicy iteration Q_learning model and genrates the respective Q_table while learning and produces the reeepctive results.(code\Mountain_car\Q_learning_agent.py)
  3. Deep_Q_learning : DQN_model_1.py : Creates a Deep_Q_learning agent and trains it to play the game.(code\Mountain_car\DQN_model_2.py)

Report

  1. Proposal : Docs/proposal.pdf
  2. Report : Docs/Report.html

Simulation Results :

Cartpole :

  1. Jupyter Notebook : Docs/Cartpole Results/Cartpole_result_plots.ipynb
  2. HTML : Docs/Cartpole_result_plots.html

Mountain Car :

  1. Jupyter Notebook : Docs/Mountain Car Results/Mountain_car_result_plots.ipynb
  2. HTML : Docs/Mountain_car_result_plots.html

analogy_of_reinforcement_learning's People

Contributors

coolsgupta avatar

Watchers

James Cloos avatar  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.