NNS.distance {NNS}R Documentation

NNS Distance

Description

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

Usage

NNS.distance(rpm, dist.estimate, k, class)

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.


[Package NNS version 10.8.2 Index]