JSPM

Found 132 results for cosine

talisman

Straightforward fuzzy matching, information retrieval and NLP building blocks for JavaScript.

  • v1.1.4
  • 65.32
  • Published

fft-windowing

Applies a windowing function to an array of data, making it ready to be FFT'd.

  • v0.1.4
  • 52.62
  • Published

@thi.ng/color

Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets

  • v5.8.1
  • 49.03
  • Published

cos-similarity

Computes the cosine similarity between two vectors

  • v2.0.0
  • 47.56
  • Published

semantic-chunking

Semantically create chunks from large texts. Useful for workflows involving large language models (LLMs).

  • v2.4.4
  • 46.96
  • Published

glsl-cos-palette

glsl function for making cosine palettes

  • v1.0.0
  • 46.11
  • Published

cmpstr

CmpStr is a lightweight, fast and well performing package for calculating string similarity

  • v3.0.4
  • 42.90
  • Published

fast-cosine-similarity

A very fast implementation of cosine-similarity for comparing two vectors. Up to 6x faster than the compute-cosine-similarity library.

  • v1.2.2
  • 42.88
  • Published

ml-classify-text

Text classification using n-grams and cosine similarity

  • v2.0.1
  • 42.07
  • Published

semantic-autocomplete

A blazing-fast semantic search React component. Match by meaning, not just by letters. Search as you type without waiting (no debounce needed). Rank by cosine similarity.

  • v3.1.0
  • 41.98
  • Published

react-native-animated-math

Animated API math extension - implements sine, cosine, tangent as AnimatedNodes

  • v0.3.1
  • 41.14
  • Published

fft-windowing-ts

Applies a windowing function to an array of data, making it ready to be FFT'd.

  • v0.2.7
  • 32.70
  • Published

vector-cosine-similarity

Lightweight Cosine Similarity Function. Built as an alternative to the compute-cosine-similarity package. Works with high dimension vectors like openAI embeddings

  • v1.8.0
  • 30.83
  • Published

spectral-analysis

TypeScript library spectral analysis such as PSD and FFT

  • v1.0.12
  • 28.48
  • Published

@seregpie/vector-math

A collection of mathematical functions for working with vectors.

  • v1.8.0
  • 26.89
  • Published

@stdlib/random-iter-cosine

Create an iterator for generating pseudorandom numbers drawn from a raised cosine distribution.

  • v0.2.1
  • 25.37
  • Published

@elpassion/semantic-chunking

Semantically create chunks from large texts. Useful for workflows involving large language models (LLMs).

  • v3.0.2
  • 25.14
  • Published

wasm-similarity

WebAssembly-powered cosine similarity utilities for JavaScript/TypeScript

    • v0.1.11
    • 25.05
    • Published

    cosine

    calculate the cosine distance between 2 arrays of strings

    • v0.0.1
    • 23.39
    • Published

    vek-engine

    Efficient WebAssembly-based vector math engine for JavaScript/TypeScript

    • v0.1.4
    • 23.17
    • Published

    @stdlib/random-streams-cosine

    Create a readable stream for generating pseudorandom numbers drawn from a raised cosine distribution.

    • v0.2.1
    • 22.90
    • Published

    math-tan

    Computes the tangent of a number.

    • v1.0.0
    • 22.36
    • Published

    haraldmath

    Harald Math, a lightweight math library.

    • v0.1.6
    • 21.22
    • Published

    @stdlib/random-array-cosine

    Create an array containing pseudorandom numbers drawn from a raised cosine distribution.

    • v0.2.1
    • 21.18
    • Published

    es-vector-math

    ES Vector Math is a library for working with vectors in JavaScript or TypeScript.

    • v0.0.9
    • 20.89
    • Published

    covectric

    Covectric is a simple vector based search engine using cosine similarity and tf-idf methods for finding text similarity.

    • v0.0.7
    • 20.70
    • Published

    algorith

    Collection complète d'algorithmes de similarité textuelle et moteur de génération aléatoire avancé

    • v1.0.1
    • 20.25
    • Published

    embedding-search-node

    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.

    • v0.0.6
    • 19.86
    • Published

    @rbxts/wave

    A sine/cosine wave implementation for Roblox

    • v1.0.0
    • 19.62
    • Published

    vector-space-model-similarity

    this module is using for calculating the cosine similarity and vector space model using tfidf

      • v1.0.161
      • 18.52
      • Published

      math-cos

      Computes the cosine of a number.

      • v1.0.0
      • 18.36
      • Published

      cosim

      Compute the cosine similarity of two vectors. Fully typed, 0 dependencies.

        • v1.0.4
        • 18.17
        • Published

        neuradb

        Lightweight In-Memory Vector Database for Fast Similarity Search

        • v1.0.7
        • 17.92
        • Published

        disi

        A collection of distance and similarity metrics written in pure JS

        • v0.1.2
        • 17.49
        • Published

        cosinity

        A simple package for cosine similarity calculation with both module support.

          • v1.0.3
          • 16.80
          • Published

          trigonometry.sol

          Basic trigonometric cuntions, sine and cosine

          • v1.0.2
          • 15.21
          • Published

          math-cospi

          Computes cos(πx).

          • v1.0.0
          • 11.95
          • Published

          thetajs

          Syntatic sugar for [object Math]

            • v1.1.1
            • 11.90
            • Published

            negcos

            Calculate the negative cosine of an angle

            • v1.0.0
            • 11.57
            • Published

            math-cah

            Simply calculate the cosine of a triangle.

            • v1.0.0
            • 11.29
            • Published

            contacted-chunking

            Semantically create chunks from large texts. Useful for workflows involving large language models (LLMs).

            • v2.4.1
            • 10.95
            • Published

            nlp-chasm

            Split your long text into paragraphs using NLP attributes. Chasm allows you to easily split your long text with just a suingle command, all you need are a few language attributes for each token. That's it!

            • v1.0.2
            • 10.65
            • Published

            cos1ne-similarity

            Measures similarity between two Strings calculating the cosine of the angle between them.

            • v1.0.2
            • 10.33
            • Published

            vect

            A Lightweight (Multidimensional) Vector Computation Library

              • v1.0.0
              • 10.07
              • Published

              content-based-filtering

              this module is using for calculating the cosine similarity and vector space model using tfidf

                • v1.0.1
                • 7.43
                • Published

                textsimilarity

                Simple text similarity module

                • v0.0.1
                • 5.77
                • Published