bundles / scipy latest / scipy / optimize / _basinhopping / AdaptiveStepsize
class
scipy.optimize._basinhopping:AdaptiveStepsize
Signature
class AdaptiveStepsize ( takestep , accept_rate = 0.5 , interval = 50 , factor = 0.9 , verbose = True ) Members
Summary
Class to implement adaptive stepsize.
Extended Summary
This class wraps the step taking class and modifies the stepsize to ensure the true acceptance rate is as close as possible to the target.
Parameters
takestep: callableThe step taking routine. Must contain modifiable attribute takestep.stepsize
accept_rate: float, optionalThe target step acceptance rate
interval: int, optionalInterval for how often to update the stepsize
factor: float, optionalThe step size is multiplied or divided by this factor upon each update.
verbose: bool, optionalPrint information about each update
Aliases
-
scipy.optimize._basinhopping.AdaptiveStepsize