maxent_toolbox

Maximum Entropy toolbox for MATLAB

View the Project on GitHub orimaoz/maxent_toolbox

maxent.getEntropy

Description

Returns the empirical entropy for a dataset or computes the entropy for a model. This function only computes the entropy for small models (because it does so exhaustively), in order to obtain an approximation of the entropy of large distributions use the wangLandau function.

Usage

entropy = maxent.getEntropy(model)
entropy = maxent.getEntropy(samples)

Arguments

Mandatory arguments

  • model - Maximum entropy model as returned by the trainModel function.
  • samples - Set of samples, in the format (ncells x nsamples).

Output

  • entropy - entropy in bits.