swarmauri.core.distances.IDistanceSimilarity module
- class swarmauri.core.distances.IDistanceSimilarity.IDistanceSimilarity[source]
Bases:
ABC
Interface for computing distances and similarities between high-dimensional data vectors. This interface abstracts the method for calculating the distance and similarity, allowing for the implementation of various distance metrics such as Euclidean, Manhattan, Cosine similarity, etc.