Skip to content

Implementation of a Q-Learning agent that utilizes Opponent Modeling Algorithm

Notifications You must be signed in to change notification settings

Sina-Baharlou/OM-QLearning

Repository files navigation

Opponent Modeling Q-Learning

This project is divided into two sections: The first of is an implementation of an agent that uses the Q-Learning algorithm to maximize the average signal perception it receives in the environment. The signal is randomly generated from a Gaussian distribution, and the performance of the agent is evaluated in the end. The second part is the implementation of an agent that employes Opponent Modeling Q-Learning . This agent is evaluated in an environment that also contains a Q-Learner agent, they both start each episode at the same start location.

This demonstration program is developed in C++ programming language and the OpenCV library is used to visualize the situation.

Adviser

Prof. Daniele Nardi

How to Run

Requirements:

  • OpenCV 2.4 or higher

Compile the source using the 'make' command, then execute the Qlearning file. you can also change the behaviour in the Qlearning.cpp file

About

Implementation of a Q-Learning agent that utilizes Opponent Modeling Algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published