Kernel: Python 3.8.5 ('base')
The "occasionally dishonest casino" HMM
We use the dynamax library.
In [1]:
In [2]:
In [3]:
In [4]:
Out[4]:
/Users/scott/miniconda3/envs/dynamax/lib/python3.9/site-packages/probml_utils/plotting.py:26: UserWarning: LATEXIFY environment variable not set, not latexifying
warnings.warn("LATEXIFY environment variable not set, not latexifying")
In [5]:
In [6]:
In [7]:
Out[7]:
hid: [1111111111122111111111111111111111111111111111111111122222222211111111]
obs: [6431465123564461525456511613536122412645252144423454336266666226436212]
In [8]:
Out[8]:
[0.14880952 0.5227273 ]
[0.16666666666666666, 0.5]
In [9]:
Out[9]:
/var/folders/03/7y894xkj7k7266681pht1hw40000gn/T/ipykernel_21823/1789374025.py:7: UserWarning: Matplotlib is currently using module://matplotlib_inline.backend_inline, which is a non-GUI backend, so cannot show the figure.
fig.show()
/var/folders/03/7y894xkj7k7266681pht1hw40000gn/T/ipykernel_21823/1789374025.py:14: UserWarning: Matplotlib is currently using module://matplotlib_inline.backend_inline, which is a non-GUI backend, so cannot show the figure.
fig.show()
/var/folders/03/7y894xkj7k7266681pht1hw40000gn/T/ipykernel_21823/1789374025.py:21: UserWarning: Matplotlib is currently using module://matplotlib_inline.backend_inline, which is a non-GUI backend, so cannot show the figure.
fig.show()