You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for your code. I'm using it in a reinforement learning course and it's really useful.
In mc_prediction.py I'm getting this error when I try to implement it:
My implementation:
def sample_policy(observation):
"""
Una política que se planta si el jugador tiene un puntaje > 20 y pide otra carta caso contrario.
"""
score, dealer_score, usable_ace = observation
return 0 if score >= 20 else 1
Hi!
First of all, thanks for your code. I'm using it in a reinforement learning course and it's really useful.
In mc_prediction.py I'm getting this error when I try to implement it:
My implementation:
The error message I get:
Maybe I'm doing something wrong!
Thanks in advance,
Ramiro.
The text was updated successfully, but these errors were encountered: