entropy

Module for the SAMS entropy calculations.

Functions

count_models(max_model, model_size[, model])

Counts the number of models of a given size in the max model assuming weak heredity.

entropies(submodels, freqs, model_size, ...)

Compute the entropies of the submodels given the total set of models.

entropies_approx(submodels, freqs, ...[, ...])

Compute the approximate entropy by sampling N random models and observing the frequency of each submodel.