Tag: array

Tweak PROC FASTCLUS for 1-Nearest Neighbor / Closest Match

In most table lookup tasks, we are doing EXACT matching. However, sometimes we are looking for closest match in the lookup table. By ‘closest’, we mean smallest Eucleadian distance:

||X-Y||2

Typically we have to manually code the search function …