NNS.distance: NNS Distance

View source: R/NNS_Distance.R

NNS.distanceR Documentation

NNS Distance

Description

Internal kernel function for NNS multivariate regression NNS.reg parallel instances.

Usage

NNS.distance(rpm, dist.estimate, k = "all", class = NULL)

Arguments

rpm

REGRESSION.POINT.MATRIX from NNS.reg

dist.estimate

Vector to generate distances from.

k

n.best from NNS.reg

class

if classification problem.

Value

Returns sum of weighted distances.


NNS documentation built on Nov. 5, 2025, 7:27 p.m.