ribs.emitters.opt.GradientAscentOpt¶
- class ribs.emitters.opt.GradientAscentOpt(theta0: ArrayLike, lr: float | floating)[source]¶
Vanilla gradient ascent.
- Parameters:¶
Methods
reset(theta0)Resets the solution point to a new value.
step(gradient)Ascends the solution based on the given gradient.
Attributes
The current solution point.