← Open Source
udacity

deep-reinforcement-learning

Repo for the Deep Reinforcement Learning Nanodegree program.

TutorialsML/AI fundamentalsJupyter Notebook
Open on GitHub
Momentum
+1stars in 24 hours+0.0%
5.18k
Stars
2.37k
Forks
+3
This week
6
Contributors
Created 2018-07-06 · Updated 2026-10-15 · #4613 today
Top developers
juanudacityalexisbcookSudKul

udacity/deep-reinforcement-learning is ranked 4,613 with 5,181 stars.

Same-category comparison

udacity/deep-reinforcement-learning is ranked 4,613 among these 8 peers; jaungiers/LSTM-Neural-Network-for-Time-Series-Prediction is ranked 4,606.

Same-category comparison
NameRankMetrics
huggingface/alignment-handbook4,579
Language:
Python
Stars:
5,696
Forks:
501
Description:
Robust recipes to align language models with human and AI preferences.
phodal/understand-prompt4,582
Language:
Jupyter Notebook
Stars:
5,620
Forks:
440
karpathy/neuraltalk4,594
Language:
Python
Stars:
5,508
Forks:
1,330
Description:
NeuralTalk is a Python+numpy project for learning Multimodal Recurrent Neural Networks that describe images with sentences.
jaungiers/LSTM-Neural-Network-for-Time-Series-Prediction4,606
Language:
Python
Stars:
5,233
Forks:
1,959
Description:
LSTM built using Keras Python package to predict time series steps and sequences. Includes sin wave and stock market data.
ashnkumar/sketch-code4,620
Language:
Python
Stars:
5,142
Forks:
675
Description:
Keras model to generate HTML code from hand-drawn website mockups. Implements an image captioning architecture to drawn source images.
paullarionov/claude-certified-architect4,627
Language:
HTML
Stars:
5,040
Forks:
1,206
jcjohnson/pytorch-examples4,640
Language:
Python
Stars:
4,918
Forks:
918
Description:
Simple examples to introduce PyTorch.
jonkrohn/ML-foundations4,644
Language:
Jupyter Notebook
Stars:
4,900
Forks:
2,320
Description:
Machine Learning Foundations: Linear Algebra, Calculus, Statistics & Computer Science.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageJupyter Notebook
CategoryTutorials
SubcategoryML/AI fundamentals
KeywordsRL
Stars5,181
Forks2,368
Contributors6
Created date2018-07-06
Updated date2026-10-15
Stars in 1 day1
Stars in 7 days3
Rank4,613
Previous rank7,585
Rank change2,972
7-day stars rank6,603
Previous 7-day stars rank7,597
7-day stars rank change994
Total stars rank2,722
Previous total stars rank2,721
Total stars rank change-1
CountryUSA
README summary

Deep Reinforcement Learning Nanodegree This repository contains material related to Udacity's Deep Reinforcement Learning Nanodegree program. Table of Contents Tutorials The tutorials lead you through implementing various algorithms in reinforcement learning. Dynamic Programming: Implement Dynamic Programming algorithms such as Policy Evaluation, Policy Improvement, Policy Iteration, and Value Iteration. Monte Carlo: Implement Monte Carlo methods for prediction and control. Temporal-Difference: Implement Temporal-Difference methods such as Sarsa, Q-Learning, and Expected Sarsa. Discretization: Learn how to discretize continuous state spaces

, and solve the Mountain Car environment. Tile Coding: Implement a method for discretizing continuous state spaces that enables better generalization. Deep Q-Network: Explore how to use a Deep Q-Network (DQN) to navigate a space vehicle without crashing. Robotics: Use a C++ API to train reinforcement learning agents from virtual robotic simulation in 3D. (_External link_) Hill Climbing: Use hill climbing with adaptive noise scaling to balance a pole on a moving cart. Cross-Entropy Method: Use the cross

-entropy method to train a car to navigate a steep hill. REINFORCE: Learn how to use Monte Carlo Policy Gradients to solve a classic control task. **Proximal Policy Optimization**: Explore how to use Proximal Policy Optimization (PPO) to solve a classic reinforcement learning task. _) **Deep Deterministic Policy Gradients**: Explore how to use Deep Deterministic Policy Gradients (DDPG) with OpenAI Gym environments. Pendulum: Use OpenAI Gym's Pendulum environment. BipedalWalker: Use OpenAI Gym's BipedalWalker environment. Finance: Train an agent to discover optimal

trading strategies. Labs / Projects The labs and projects can be found below. All of the projects use rich simulation environments from Unity ML-Agents. In the Deep Reinforcement Learning Nanodegree program, you will receive a review of your project. These reviews are meant to give you personalized feedback and to tell you what can be improved in your code. The Taxi Problem: In this lab, you will train a taxi to pick up and drop off passengers. Navigation: In the

first project, you will train an agent to collect yellow bananas while avoiding blue bananas. Continuous Control: In the second project, you will train an robotic arm to reach target locations. Collaboration and Competition: In the third project, you will train a pair of agents to play tennis! Resources Cheatsheet: You are encouraged to use this PDF file to guide your study of reinforcement learning. OpenAI Gym Benchmarks Classic Control with Tile Coding and Q-Learning with Hill Climbing | solved

in 13 episodes with REINFORCE | solved in 691 episodes with Cross-Entropy Method | solved in 47 iterations with Uniform-Grid Discretization and Q-Learning | solved in Come learn with us in the Deep Reinforcement Learning Nanodegree program at Udacity!

Frequently asked questions

How many stars and forks are recorded?

udacity/deep-reinforcement-learning has 5,181 stars and 2,368 forks.

What is the repository rank?

udacity/deep-reinforcement-learning is ranked 4,613.

What language and category are recorded?

udacity/deep-reinforcement-learning has 5,181 stars, uses Jupyter Notebook and belongs to Tutorials.

Which repository is closest in rank?

udacity/deep-reinforcement-learning is compared with jaungiers/LSTM-Neural-Network-for-Time-Series-Prediction, ranked 4,606 with 5,233 stars.

README

Deep Reinforcement Learning Nanodegree

This repository contains material related to Udacity's Deep Reinforcement Learning Nanodegree program.

Table of Contents

Tutorials

The tutorials lead you through implementing various algorithms in reinforcement learning. All of the code is in PyTorch (v0.4) and Python 3.

  • Dynamic Programming: Implement Dynamic Programming algorithms such as Policy Evaluation, Policy Improvement, Policy Iteration, and Value Iteration.
  • Monte Carlo: Implement Monte Carlo methods for prediction and control.
  • Temporal-Difference: Implement Temporal-Difference methods such as Sarsa, Q-Learning, and Expected Sarsa.
  • Discretization: Learn how to discretize continuous state spaces, and solve the Mountain Car environment.
  • Tile Coding: Implement a method for discretizing continuous state spaces that enables better generalization.
  • Deep Q-Network: Explore how to use a Deep Q-Network (DQN) to navigate a space vehicle without crashing.
  • Robotics: Use a C++ API to train reinforcement learning agents from virtual robotic simulation in 3D. (External link)
  • Hill Climbing: Use hill climbing with adaptive noise scaling to balance a pole on a moving cart.
  • Cross-Entropy Method: Use the cross-entropy method to train a car to navigate a steep hill.
  • REINFORCE: Learn how to use Monte Carlo Policy Gradients to solve a classic control task.
  • Proximal Policy Optimization: Explore how to use Proximal Policy Optimization (PPO) to solve a classic reinforcement learning task. (Coming soon!)
  • Deep Deterministic Policy Gradients: Explore how to use Deep Deterministic Policy Gradients (DDPG) with OpenAI Gym environments.
    • Pendulum: Use OpenAI Gym's Pendulum environment.
    • BipedalWalker: Use OpenAI Gym's BipedalWalker environment.
  • Finance: Train an agent to discover optimal trading strategies.

Labs / Projects

The labs and projects can be found below. All of the projects use rich simulation environments from Unity ML-Agents. In the Deep Reinforcement Learning Nanodegree program, you will receive a review of your project. These reviews are meant to give you personalized feedback and to tell you what can be improved in your code.

  • The Taxi Problem: In this lab, you will train a taxi to pick up and drop off passengers.
  • Navigation: In the first project, you will train an agent to collect yellow bananas while avoiding blue bananas.
  • Continuous Control: In the second project, you will train an robotic arm to reach target locations.
  • Collaboration and Competition: In the third project, you will train a pair of agents to play tennis!

Resources

OpenAI Gym Benchmarks

Classic Control

Box2d

Toy Text

Dependencies

To set up your python environment to run the code in this repository, follow the instructions below.

  1. Create (and activate) a new environment with Python 3.6.

    • Linux or Mac:
    conda create --name drlnd python=3.6
    source activate drlnd
    
    • Windows:
    conda create --name drlnd python=3.6 
    activate drlnd
    
  2. If running in Windows, ensure you have the "Build Tools for Visual Studio 2019" installed from this site. This article may also be very helpful. This was confirmed to work in Windows 10 Home.

  3. Follow the instructions in this repository to perform a minimal install of OpenAI gym.

    • Next, install the classic control environment group by following the instructions here.
    • Then, install the box2d environment group by following the instructions here.
  4. Clone the repository (if you haven't already!), and navigate to the python/ folder. Then, install several dependencies.

    git clone https://github.com/udacity/deep-reinforcement-learning.git
    cd deep-reinforcement-learning/python
    pip install .
    
  5. Create an IPython kernel for the drlnd environment.

    python -m ipykernel install --user --name drlnd --display-name "drlnd"
    
  6. Before running code in a notebook, change the kernel to match the drlnd environment by using the drop-down Kernel menu.

Want to learn more?

Come learn with us in the Deep Reinforcement Learning Nanodegree program at Udacity!

Nearby in the ranking
Similar items