nemos.glm.GLM.solver_update#
- property GLM.solver_update: None | Callable[[Any, NamedTuple, Array, Array], OptStep]#
Provides the function for updating the solver’s state during the optimization process.
This function is used to perform a single update step in the optimization process. It updates the model’s parameters based on the current state, data, and gradients. It is typically used in scenarios where fine-grained control over each optimization step is necessary, such as in online learning or complex optimization scenarios.
- Returns:
The function to update the solver’s state, if available; otherwise, None if the solver has not yet been instantiated.