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.bigmodel.stochapprox
-
bigmodel.stochapprox(K)
- Tries to fit the model to the feature expectations K using
stochastic approximation, with the Robbins-Monro stochastic
approximation algorithm: theta_{k+1} = theta_k + a_k g_k - a_k
e_k where g_k is the gradient vector (= feature expectations E -
K) evaluated at the point theta_k, a_k is the sequence a_k = a_0
/ k, where a_0 is some step size parameter defined as self.a_0 in
the model, and e_k is an unknown error term representing the
uncertainty of the estimate of g_k. We assume e_k has nice
enough properties for the algorithm to converge.