View source: R/internal_helpers.R
DANN_distance | R Documentation |
Computes the distance between x0 and x1 using the DANN metric
DANN_distance(x0, x1, sigma)
x0 |
A numeric matrix with training predictors as columns. |
x1 |
A numeric matrix with training predictors as columns. |
sigma |
A numeric matrix defined in Hastie's DANN publication. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.