Getting started
Basic usage
Validation
Advanced usage
API
License
Bases: ABC
ABC
Loss function interface.
abstract: Loss function.
Constructor.
List of Public Methods
loss
Loss function.
Methods
y (tuple[float]) – Values of parametric solution.
y_ref (tuple[float]) – Values of reference solution.
type ({'minimization', 'maximization'}, default='minimization') – Type of optimization problem. The option ‘maximization’ negates the loss function evaluation.
loss – Loss function value.
float