src.models.emd_loss

Module for Earth Mover’s Distance (EMD) loss calculation.

Functions

emd_loss(predictions, targets)

Computes the Earth Mover's Distance (EMD) loss, also known as Ranked Probability Score.