This is documentation for an old release of SciPy (version 0.7.). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.maxentropy.model.log
-
model.log(params)
- This method is called every iteration during the optimization
process. It calls the user-supplied callback function (if any),
logs the evolution of the entropy dual and gradient norm, and
checks whether the process appears to be diverging, which would
indicate inconsistent constraints (or, for bigmodel instances,
too large a variance in the estimates).