rlcard icon indicating copy to clipboard operation
rlcard copied to clipboard

Instructions for generating data, training supervised learning for agent before RL

Open AhmedKhaled945 opened this issue 5 years ago • 4 comments

Hello, was wondering if there were instructions that can facilitate supervised learning stage before RL, will be very useful in games like doudizho and mahjong,

Thanks in advance.

AhmedKhaled945 avatar Aug 12 '20 21:08 AhmedKhaled945

@AhmedKhaled945 Thanks for the suggestion. It needs some effort because we didn't consider SL at the beginning. I will be working for it later when I got time.

daochenzha avatar Aug 13 '20 15:08 daochenzha

Perfect, thanks so much for this, wanted to ask how can i register a new model? i am nearly finishing a rule based model for sichuan mahjong.

AhmedKhaled945 avatar Aug 13 '20 16:08 AhmedKhaled945

@AhmedKhaled945 You may register the model here. See https://github.com/datamllab/rlcard/blob/master/rlcard/models/init.py

After registration, you can use

from rlcard import models
models.load($MODEL_NAME$)

to load the model

daochenzha avatar Aug 13 '20 17:08 daochenzha

完美,非常感谢,我想问我如何注册一个新模型?我几乎要完成基于规则的四川麻将模型。

Hello, have you finished your Sichuan mahjong model? I'm from Tsinghua University, China. I'm following up this project. I'm looking forward to your reply!

wanyubin123456 avatar Apr 18 '21 18:04 wanyubin123456