R/customMetrics.R
maximum_mean_discrepancy.Rd
https://jmlr.csail.mit.edu/papers/volume13/gretton12a/gretton12a.pdf
maximum_mean_discrepancy(y_true, y_pred, sigma = 1)
True labels (Tensor)
Predictions (Tensor of the same shape as y_true)
y_true
mmd value
Tustison NJ