Multi-Agent Reinforcement learning

I have a game similar to poker (but different) coded up in Matlab where the game is one Matlab function and each player's strategy is a different function I've written. I'd like to replace two of the players with reinforcement learning AI agents so the AI plays itself and hopefully optimizes. Is it possible to do this in Matlab or do I have to use Simulink? I've never used the reiinforcement learning tools in Matlab so any pointers are appreciated.

Réponses (1)

Emmanouil Tzorakoleftherakis
Modifié(e) : Emmanouil Tzorakoleftherakis le 25 Sep 2023

0 votes

As of R2023b, you can do multi-agent reinforcement learning using MATLAB environments. Please take a look at this example and R2023b release notes.

3 commentaires

Kuanishbay Sadatdiynov
Kuanishbay Sadatdiynov le 15 Déc 2023
Hello Emmanouil,
Is there a way to implement multi-agent RL by creating a custom environment from a class template rather than using reset and step functions? If yes, could you share the example, please? Thanks.
We are working on this. In the meantime, you can use the following environment as a template:
edit rl.env.pusher.PusherEnvironment
Kuanishbay Sadatdiynov
Kuanishbay Sadatdiynov le 16 Déc 2023
Thank you, let me try.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Video games dans Centre d'aide et File Exchange

Produits

Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by