Implement cosine similarity and cosinepair (#327)

* Implement cosine similarity and cosinepair
This commit is contained in:
Lorenzo
2025-09-27 11:08:57 +01:00
committed by GitHub
parent 4841791b7e
commit 09be4681cf
9 changed files with 1018 additions and 12 deletions
+2
View File
@@ -39,6 +39,8 @@ use crate::numbers::basenum::Number;
use serde::{Deserialize, Serialize};
pub(crate) mod bbd_tree;
/// a variant of fastpair using cosine distance
pub mod cosinepair;
/// tree data structure for fast nearest neighbor search
pub mod cover_tree;
/// fastpair closest neighbour algorithm