Skip to content

Instantly share code, notes, and snippets.

View chrishwiggins's full-sized avatar

chris wiggins chrishwiggins

View GitHub Profile
@iiLaurens
iiLaurens / generate.py
Last active November 2, 2022 16:17
Blackjack Markov Decision Process generator for python MDPToolBox
import numpy as np
import pandas as pd
from itertools import product
from functools import reduce
ACTIONLIST = {
0: 'skip',
1: 'draw'
}