NNS.distance {NNS} | R Documentation |
Internal kernel function for NNS multivariate regression NNS.reg parallel instances.
NNS.distance(rpm, rpm_class, dist.estimate, type, k, class)
rpm |
REGRESSION.POINT.MATRIX from NNS.reg |
rpm_class |
integer |
dist.estimate |
Vector to generate distances from. |
type |
"L1", "L2", "DTW" or "FACTOR" |
k |
|
class |
if classification problem. |
Returns sum of weighted distances.