Skip to content
Randall O'Reilly edited this page Nov 5, 2019 · 2 revisions

metric contains the similarity / distance metric functions used in various other places, especially the SimMat package, including Cosine, Euclidean, Correlation, etc.

These functions operate directly on either slices of float64 or float32 e..g., Euclidean64 and Euclidean32 -- they can operate directly on the Values member of specific etensor.Float64 or etensor.Float32 types, or on Floats values from any tensor.

Clone this wiki locally