LossMetric

public interface LossMetric
Known Indirect Subclasses

Interface for Metrics that wrap Loss functions.

Public Methods

abstract Operand<T>
call(Operand<? extends TNumber> labels, Operand<? extends TNumber> predictions)
Calculates the weighted loss between labels and predictions

Public Methods

public abstract Operand<T> call (Operand<? extends TNumber> labels, Operand<? extends TNumber> predictions)

Calculates the weighted loss between labels and predictions

Parameters
labels the truth values or labels
predictions the predictions
Returns
  • the loss