bundles / scipy latest / scipy / stats / _continuous_distns / _remove_optimizer_parameters
function
scipy.stats._continuous_distns:_remove_optimizer_parameters
Signature
def _remove_optimizer_parameters ( kwds ) Summary
Remove the optimizer-related keyword arguments 'loc', 'scale' and 'optimizer' from kwds. Then check that kwds is empty, and raise TypeError("Unknown arguments: %s." % kwds) if it is not.
Extended Summary
This function is used in the fit method of distributions that override the default method and do not use the default optimization code.
kwds is modified in-place.
Aliases
-
scipy.stats._continuous_distns._remove_optimizer_parameters