Computes distance from observations to centroids
Usage
get_centroid_dists(
new_data,
centroids,
dist_fun = function(x, y) {
philentropy::dist_many_many(x, y, method =
"euclidean")
}
)
Computes distance from observations to centroids
get_centroid_dists(
new_data,
centroids,
dist_fun = function(x, y) {
philentropy::dist_many_many(x, y, method =
"euclidean")
}
)