DANN_distance: Computes the distance between x0 and x1 using the DANN metric

View source: R/internal_helpers.R

DANN_distanceR Documentation

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.


dann documentation built on Sept. 23, 2023, 5:06 p.m.