Computing the distance between unbalanced distributions: the flat metric
{{output}}
We provide an implementation to compute the flat metric in any dimension. The flat metric, also called dual bounded Lipschitz distance, generalizes the well-known Wasserstein distance W 1 to the case that the distributions are of unequal total mass. Thus, our... ...