dist.fun.tricubic {som.nn} | R Documentation |
Tricubic distance functions for topological k-NN classifier
Description
The tricubic function is used as distance-dependent weight for
k-NN voting.
Usage
dist.fun.tricubic(x, sigma = 1)
Arguments
x |
Distance or |
sigma |
Maximum distance to be considered. |
Details
The function returns 1.0 for , 0.0 for
and
for .
Value
Distance-dependent weight.
[Package som.nn version 1.4.4 Index]