createModel
Initializes a new entropy model.
Maximum Entropy toolbox for MATLAB
Note: all the functions reside in the maxent namespace, and can be imported into the general namespace by calling:
import maxent.*;
Initializes a new entropy model.
Trains a maximum entropy model on an empirical dataset.
Returns the log probabilities of samples according to a maximum entropy model.
Returns the marginals of a maximum entropy model.
Returns the empirical marginals of a dataset.
Returns the empirical marginals of a dataset reweighted by a probability distribution.
Generates samples from a maximum entropy model.
Estimates the partition function and entropy of a model using the Wang-Landau algorithm.
Returns an empirical distribution corresponding to a set of samples.
Returns the entropy of a maximum entropy model.
Returns Kullback-Leibler divergence between two probability distributions.
Returns Jensen-Shannon divergence between two probability distributions.
Normalizes a probabilistic model.
Returns an explicit representation of a probabilistic model as a vector of probabilities.
Returns the number of factors (parameters) in a maximum entropy model.
Returns the factors (parameters) in a maximum entropy model.
Sets the factors (parameters) in a maximum entropy model.