Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Crig::Embeddings::VectorDistance
Instance methods
angular_distance
(other :
Embedding
, normalized :
Bool
) :
Float64
Source
chebyshev_distance
(other :
Embedding
) :
Float64
Source
cosine_similarity
(other :
Embedding
, normalized :
Bool
) :
Float64
Source
dot_product
(other :
Embedding
) :
Float64
Source
euclidean_distance
(other :
Embedding
) :
Float64
Source
manhattan_distance
(other :
Embedding
) :
Float64
Source