Description
Trains a maximum entropy model on empirical data. The function will automatically choose, based on the number of dimensions in the input distribution, which of two modes of operation to use:
- For a small number (default ≤ 25) of input dimensions it will compute an exact solution and return a normalized probability distribution.
- For a large number (default > 25) of input dimensions it will compute an approximate solution using Monte-Carlo Markov Chain (MCMC) methods and return a non-normalized distribution. This distribution can later be normalized using other functions in the toolbox such as wangLandau.
- If the input model is an independent model, the function will return a normalized probability distribution regardless of the input dimension.