Libraries tagged by cosine
edgaras/strsim
111223 Downloads
Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more
bl4ckbon3/strsim
167158 Downloads
Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more
phpjuice/opencf
5691 Downloads
PHP implementation of the (Weighted Slopeone,Cosine, Weighted Cosine) rating-based collaborative filtering schemes.
algenza/cosine-similarity
36263 Downloads
Cosine similarity
mauricioperera/php-vector-store
46 Downloads
Zero-dependency PHP vector database with BM25, hybrid search, Matryoshka, IVF indexing, and Int8 quantization
illuma-law/laravel-vector-schema
65 Downloads
Portable Laravel vector schema, casts, and cosine similarity queries.
eloquage/laravel-vector-schema
5 Downloads
Portable Laravel vector schema, casts, and cosine similarity queries.
sobhanmohammadi/geometry
0 Downloads
An immutable, precision-safe, extensible Geometry calculation library for PHP 7.4+, built entirely on top of the Sobhanmohammadi\CAS algebra engine. Includes 10 new shape-solving factories for Triangle, Rhombus, Parallelogram, and Trapezoid with support for ambiguous cases and multiple input combinations.
codinglombok/lombokvector
1 Downloads
Vector math with bit-identical results across PHP, Rust, TypeScript, Python and Go: dot product, cosine similarity, L2 distance, normalization, batch ranking. Zero dependencies.
coral-media/php-ir
14 Downloads
Information Retrieval algorithms (vector space, similarity, clustering)
rhaima96/laravel-vector-metrics
2 Downloads
Euclidean and cosine vector distance queries and indexes for Laravel on MariaDB and Postgres.
eloquage/vector
4 Downloads
In-process vector math for PHP: cosine, dot, L2, top-k, and batch similarity with a pure-PHP API and optional native acceleration.
apiverve/textembeddings
1 Downloads
Text Embeddings turns a sentence, paragraph or short document into a 384-dimension vector that captures its meaning, ready for semantic search, clustering, deduplication and recommendations. Send one text or a batch of up to 32, and add a compare text to get the cosine similarity of each one to it in the same call.
adrianoferreira/document-distance
37 Downloads
A simple library for calculating the distance between two documents through the cosine similarity algorithm.
linwj/exchanges
7790 Downloads
This is a virtual currency SDK that brings together multiple exchanges