torch_numopt.objective#
Defines the objective function interface and a supervised learning implementation.
The ObjectiveFunction abstract class provides the core abstraction for
optimization: it wraps a loss function, handles parameter storage, and manages
batched evaluation. The SupervisedLearningObjective specializes it for
common machine learning tasks with data batching.
Classes
|
Abstract base class for an objective (loss) function. |
|
Objective function for supervised learning problems. |