Multimethod for distance calculations.
The get-distance-fn
multimethod dispatches based on identity to
determine what distance function to use when calculating distances.
By default the supported distance function keys are:
The default distance function is :emd which may not be appropriate for all use cases since it doesn't minimize the variational distance like euclidean would. If you don't know why :emd is the default you should probably switch to using :euclidean.
Multimethod for distance calculations. The `get-distance-fn` multimethod dispatches based on identity to determine what distance function to use when calculating distances. By default the supported distance function keys are: - :euclidean - :manhattan - :chebyshev - :correlation - :canberra - :emd - :euclidean-sq - :discrete - :cosine - :angular - :jensen-shannon The default distance function is :emd which may not be appropriate for all use cases since it doesn't minimize the variational distance like euclidean would. If you don't know why :emd is the default you should probably switch to using :euclidean.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close