@@ -71,7 +71,7 @@ class OptimizerState:
71
71
njev : int | None
72
72
"""Number of jacobian evaluations so far in the opimization."""
73
73
nit : int | None
74
- """Number of optmization steps performed so far in the optimization."""
74
+ """Number of optimization steps performed so far in the optimization."""
75
75
76
76
77
77
class SteppableOptimizer (Optimizer ):
@@ -81,7 +81,7 @@ class SteppableOptimizer(Optimizer):
81
81
This family of optimizers uses the `ask and tell interface
82
82
<https://optuna.readthedocs.io/en/stable/tutorial/20_recipes/009_ask_and_tell.html>`_.
83
83
When using this interface the user has to call :meth:`~.ask` to get information about
84
- how to evaluate the fucntion (we are asking the optimizer about how to do the evaluation).
84
+ how to evaluate the function (we are asking the optimizer about how to do the evaluation).
85
85
This information is typically the next points at which the function is evaluated, but depending
86
86
on the optimizer it can also determine whether to evaluate the function or its gradient.
87
87
Once the function has been evaluated, the user calls the method :meth:`~..tell`
@@ -180,7 +180,7 @@ def ask(self) -> AskData:
180
180
It is the first method inside of a :meth:`~.step` in the optimization process.
181
181
182
182
Returns:
183
- An object containing the data needed to make the funciton evaluation to advance the
183
+ An object containing the data needed to make the function evaluation to advance the
184
184
optimization process.
185
185
186
186
"""
@@ -217,7 +217,7 @@ def evaluate(self, ask_data: AskData) -> TellData:
217
217
218
218
def _callback_wrapper (self ) -> None :
219
219
"""
220
- Wraps the callback function to accomodate each optimizer.
220
+ Wraps the callback function to accommodate each optimizer.
221
221
"""
222
222
pass
223
223
0 commit comments