Reinforcement Learning with Q-Learning Algorithm on gym's frozen lake environment implemented in python

Overview

Reinforcement Learning with Q Learning Algorithm

Q learning algorithm is trained on the gym's frozen lake environment.

Libraries Used

  • gym
  • Numpy
  • tqdm
  • Pytorch Deep Learning Framework

  • Install Requirement Files

    clone the repository or download the 'requirement.txt' files, then open terminal in the working directory and type
    'pip install -r requirements.txt'
    to install all the requirements for this project.

    Demo Video

    Q-learning.mp4
    You might also like...
    Implemented fully documented Particle Swarm Optimization algorithm (basic model with few advanced features) using Python programming language
    Implemented fully documented Particle Swarm Optimization algorithm (basic model with few advanced features) using Python programming language

    Implemented fully documented Particle Swarm Optimization (PSO) algorithm in Python which includes a basic model along with few advanced features such as updating inertia weight, cognitive, social learning coefficients and maximum velocity of the particle.

    Weighted K Nearest Neighbors (kNN) algorithm implemented on python from scratch.
    Weighted K Nearest Neighbors (kNN) algorithm implemented on python from scratch.

    kNN_From_Scratch I implemented the k nearest neighbors (kNN) classification algorithm on python. This algorithm is used to predict the classes of new

    Conservative Q Learning for Offline Reinforcement Reinforcement Learning in JAX
    Conservative Q Learning for Offline Reinforcement Reinforcement Learning in JAX

    CQL-JAX This repository implements Conservative Q Learning for Offline Reinforcement Reinforcement Learning in JAX (FLAX). Implementation is built on

    Reinforcement-learning - Repository of the class assignment questions for the course on reinforcement learning

    DSE 314/614: Reinforcement Learning This repository containing reinforcement lea

    A solution to the 2D Ising model of ferromagnetism, implemented using the Metropolis algorithm

    Solving the Ising model on a 2D lattice using the Metropolis Algorithm Introduction The Ising model is a simplified model of ferromagnetism, the pheno

    PaddleRobotics is an open-source algorithm library for robots based on Paddle, including open-source parts such as human-robot interaction, complex motion control, environment perception, SLAM positioning, and navigation.

    简体中文 | English PaddleRobotics paddleRobotics是基于paddle的机器人开源算法库集,包括人机交互、复杂运动控制、环境感知、slam定位导航等开源算法部分。 人机交互 主动多模交互技术TFVT-HRI 主动多模交互技术是通过视觉、语音、触摸传感器等输入机器人

    A pytorch reprelication of the model-based reinforcement learning algorithm MBPO
    A pytorch reprelication of the model-based reinforcement learning algorithm MBPO

    Overview This is a re-implementation of the model-based RL algorithm MBPO in pytorch as described in the following paper: When to Trust Your Model: Mo

    DI-HPC is an acceleration operator component for general algorithm modules in reinforcement learning algorithms

    DI-HPC: Decision Intelligence - High Performance Computation DI-HPC is an acceleration operator component for general algorithm modules in reinforceme

    PPO is a very popular Reinforcement Learning algorithm at present.
    PPO is a very popular Reinforcement Learning algorithm at present.

    PPO is a very popular Reinforcement Learning algorithm at present. OpenAI takes PPO as the current baseline algorithm. We use the PPO algorithm to train a policy to give the best action in any situation.

    Owner
    null
    Multi-agent reinforcement learning algorithm and environment

    Multi-agent reinforcement learning algorithm and environment [en/cn] Pytorch implements multi-agent reinforcement learning algorithms including IQL, Q

    万鲲鹏 7 Sep 20, 2022
    ​TextWorld is a sandbox learning environment for the training and evaluation of reinforcement learning (RL) agents on text-based games.

    TextWorld A text-based game generator and extensible sandbox learning environment for training and testing reinforcement learning (RL) agents. Also ch

    Microsoft 983 Dec 23, 2022
    Reinforcement learning framework and algorithms implemented in PyTorch.

    Reinforcement learning framework and algorithms implemented in PyTorch.

    Robotic AI & Learning Lab Berkeley 2.1k Jan 4, 2023
    DeepMind Alchemy task environment: a meta-reinforcement learning benchmark

    The DeepMind Alchemy environment is a meta-reinforcement learning benchmark that presents tasks sampled from a task distribution with deep underlying structure.

    DeepMind 188 Dec 25, 2022
    Trading and Backtesting environment for training reinforcement learning agent or simple rule base algo.

    TradingGym TradingGym is a toolkit for training and backtesting the reinforcement learning algorithms. This was inspired by OpenAI Gym and imitated th

    Yvictor 1.1k Jan 2, 2023
    CowHerd is a partially-observed reinforcement learning environment

    CowHerd is a partially-observed reinforcement learning environment, where the player walks around an area and is rewarded for milking cows. The cows try to escape and the player can place fences to help capture them. The implementation of CowHerd is based on the Crafter environment.

    Danijar Hafner 6 Mar 6, 2022
    Reinforcement learning models in ViZDoom environment

    DoomNet DoomNet is a ViZDoom agent trained by reinforcement learning. The agent is a neural network that outputs a probability of actions given only p

    Andrey Kolishchak 126 Dec 9, 2022
    Predicting path with preference based on user demonstration using Maximum Entropy Deep Inverse Reinforcement Learning in a continuous environment

    Preference-Planning-Deep-IRL Introduction Check my portfolio post Dependencies Gym stable-baselines3 PyTorch Usage Take Demonstration python3 record.

    Tianyu Li 9 Oct 26, 2022
    The Environment I built to study Reinforcement Learning + Pokemon Showdown

    pokemon-showdown-rl-environment The Environment I built to study Reinforcement Learning + Pokemon Showdown Been a while since I ran this. Think it is

    null 3 Jan 16, 2022
    Wordle Env: A Daily Word Environment for Reinforcement Learning

    Wordle Env: A Daily Word Environment for Reinforcement Learning Setup Steps: git pull [email protected]:alex-nooj/wordle_env.git From the wordle_env dire

    null 2 Mar 28, 2022