Assign nearest node to each datapoint
MapDataToCodes(codes, newdata, distf = 2)
matrix with nodes of the SOM
datapoints to assign
Distance function (1=manhattan, 2=euclidean, 3=chebyshev,
Array with nearest node id for each datapoint
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.