NNS.distance: NNS Distance
Description
Internal kernel function for NNS multivariate regression NNS.reg parallel instances.
Usage
NNS.distance(rpm, dist.estimate, type, k, n)
Arguments
rpm
REGRESSION.POINT.MATRIX from NNS.reg
dist.estimate
Vector to generate distances from.
type
"L1", "L2", "DTW" or "FACTOR"
Value
Returns sum of weighted distances.