DANN_distance: Computes the distance between x0 and x1 using the DANN metric
Description
Computes the distance between x0 and x1 using the DANN metric
Usage
DANN_distance(x0, x1, sigma)
Arguments
- 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.