I have a distance matrix precalculated for each pair of labels, and I would like to pass that distance instead of eucliden or some other method.
It will e helpful if the distanceFn accepts a function that takes two labels as arguments and return the distance.
I have a distance matrix precalculated for each pair of labels, and I would like to pass that distance instead of
euclidenor some other method.It will e helpful if the
distanceFnaccepts a function that takes two labels as arguments and return the distance.