Statistical Complexity TutorialΒΆ

This tutorial will show how to calculate the statistical complexity of an \eM.

First import the machine library:

from cmpy.machines import library

Then pick an \eM and compute its statistical complexity:

m = library(0, 4)[237]
m.statistical_complexity()