kernel_metrics (original) (raw)
sklearn.metrics.pairwise.kernel_metrics()[source]#
Valid metrics for pairwise_kernels.
This function simply returns the valid pairwise distance metrics. It exists, however, to allow for a verbose description of the mapping for each of the valid strings.
The valid distance metrics, and the function they map to, are:
Read more in the User Guide.
Returns:
kernel_metricsdict
Returns valid metrics for pairwise_kernels.