# How do I check my own Baum Welch Algorithm

Given an observation {1,1,1,1,1,1,1,1,0}

Transition matrix$$\,$$A $$\begin{bmatrix} 0.5 & 0.5 \\ 0.3 & 0.7 \end{bmatrix}$$

Emission matrix$$\,$$B $$\begin{bmatrix} 0.3 & 0.7 \\ 0.8 & 0.2 \end{bmatrix}$$

Initial distribution$$\,$$B $$\begin{bmatrix} 0.2 & 0.8 \end{bmatrix}$$
After 600 iterations I have the following new distribution matrix$$\:$$A and matrix$$\:$$B:
matrix$$\,$$A $$\begin{bmatrix} 1 & 0 \\ 0.2418 & 0.7581 \end{bmatrix}$$

matrix$$\,$$B $$\begin{bmatrix} 0.1869 & 0.8130 \\ 0 & 1 \end{bmatrix}$$
Any Library or software can help me to check my own result because I am not sure if it is right