20 packages found
Compute the cosine similarity of two vectors. Fully typed, 0 dependencies.
Distance/Similarity functions for Bag of Words, Strings, Numbers, Dates and Vectors.
- Distance
- Similarity
- NLP
- Bag of Words
- Strings
- Vectors
- Chebyshev
- Cosine
- Hamming
- Jaccard
- Jaro
- Manhattan
- Soundex
- Tversky
- View more
Computes the cosine similarity between two arrays.
- compute.io
- compute
- computation
- similarity
- information theory
- distance
- dist
- array
- vector
- mathematics
- math
- geometry
- algebra
- linear algebra
Lightweight Cosine Similarity Function. Built as an alternative to the compute-cosine-similarity package. Works with high dimension vectors like openAI embeddings
- vector
- cosine
- similarity
- distance
- openai
- embeddings
- nlp
- machine learning
- node
- typescript
- compute-cosine-similarity
- high-dimension
- word embeddings
- ml-matrix
Covectric is a simple vector based search engine using cosine similarity and tf-idf methods for finding text similarity.
Utility library for calculating cosine similarity thresholds
Text classification using n-grams and cosine similarity
- text classification
- classification
- classify
- classifier
- machine learning
- machine
- learning
- ai
- artificial intelligence
- artificial
- intelligence
- n-gram
- n-grams
- cosine similarity
- View more
calculate the cosine distance between 2 arrays of strings
Calculate the cosine distance between arrays
- compute.io
- compute
- computation
- distance
- similarity
- information theory
- mathematics
- math
- array
- dist
- difference
- cosine
- vector
- algebra
- View more
Computes the cosine similarity between two vectors
A vector search utility written purely in javascript with no dependencies. Allows for the searching/ranking of a list of javascript objects with 'embedding' field defined.
Efficient WebAssembly-based vector math engine for JavaScript/TypeScript
- AI
- artificial
- artificial intelligence
- AssemblyScript
- cosine
- distance
- dot product
- embedding
- engine
- Euclidean
- infinity
- inner product
- intelligence
- linear algebra
- View more
this module is using for calculating the cosine similarity and vector space model using tfidf
A library implementing different string similarity
- strings
- compare similarity
- similarity
- Dice's Coefficient
- Cosine
- Jaccard Index
- Levenshtein
- Longest Common Subsequence
- Metric Longest Common Subsequence
- difference
- compare
- comparision
- similar
- distance
- View more
Calculates cosine similarity between 2 strings.
A collection of mathematical functions for working with vectors.
Measures similarity between two Strings calculating the cosine of the angle between them.
this module is using for calculating the cosine similarity and vector space model using tfidf
A collection of distance and similarity metrics written in pure JS
- distance
- siilarity
- metric
- person
- euclidian
- manhattan
- supermis
- correlation
- cosine
- mahalanobis
- dice
- minkowski
- chi-square
- jaccard coefficients
- View more