maximum_mean_discrepancy: Function for maximum-mean discrepancy

View source: R/customMetrics.R

maximum_mean_discrepancyR Documentation

Function for maximum-mean discrepancy

Description

https://jmlr.csail.mit.edu/papers/volume13/gretton12a/gretton12a.pdf

Usage

maximum_mean_discrepancy(y_true, y_pred, sigma = 1)

Arguments

y_true

True labels (Tensor)

y_pred

Predictions (Tensor of the same shape as y_true)

Value

mmd value

Author(s)

Tustison NJ


ANTsX/ANTsRNet documentation built on Nov. 21, 2024, 4:07 a.m.