GaussianDist: Gaussian Distance

View source: R/utils.R

GaussianDistR Documentation

Gaussian Distance

Description

Compute gaussian nearest neighbor distances.

Usage

GaussianDist(data, ka)

Arguments

data

An M x d matrix or data.frame with M rows of data points and d columns of features.

ka

Number of nearest neighbors. See details from nn2.

Value

Returns the distance matrix.

Examples

{
dist.mat <- GaussianDist(iris[,1:2], ka = 10)
}


stevexniu/FuseNet documentation built on May 16, 2022, 12:23 p.m.