Loss¶
- class Loss[исходный код]¶
Базовые классы:
ABC
Abstract base class for computing Loss.
Methods
__call__
(predict, target)This method calls the
evaluate
method.evaluate
(predict, target)An abstract method for evaluating the loss function.
gradient
(predict, target)An abstract method for computing the gradient.