Arguments Mandatory arguments model - Maximum entropy model as returned by the trainModel function. Output nfactors - number of factors (parameters) that the model has.