JSPM

Found 132 results for cosine

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
  • 37.21
  • Published

glsl-cos-palette

glsl function for making cosine palettes

  • v1.0.0
  • 36.92
  • 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
  • 34.25
  • Published

fft-windowing-ts

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

  • v0.2.7
  • 33.22
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 28.31
  • Published

algorith

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

  • v1.0.1
  • 26.70
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 23.98
  • 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
  • 23.62
  • Published

spectral-analysis

TypeScript library spectral analysis such as PSD and FFT

  • v1.0.12
  • 21.77
  • Published

@elpassion/semantic-chunking

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

  • v3.0.2
  • 20.39
  • Published

cosine

calculate the cosine distance between 2 arrays of strings

  • v0.0.1
  • 19.44
  • Published

@seregpie/vector-math

A collection of mathematical functions for working with vectors.

  • v1.8.0
  • 14.18
  • Published

disi

A collection of distance and similarity metrics written in pure JS

  • v0.1.2
  • 13.99
  • Published

cosim

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

    • v1.0.4
    • 13.65
    • Published

    haraldmath

    Harald Math, a lightweight math library.

    • v0.1.6
    • 12.26
    • Published

    vek-engine

    Efficient WebAssembly-based vector math engine for JavaScript/TypeScript

    • v0.1.4
    • 11.14
    • Published

    thetajs

    Syntatic sugar for [object Math]

      • v1.1.1
      • 10.66
      • Published

      neuradb

      Lightweight In-Memory Vector Database for Fast Similarity Search

      • v1.0.7
      • 10.51
      • Published

      contacted-chunking

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

      • v2.4.1
      • 9.14
      • Published

      @stdlib/random-streams-cosine

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

      • v0.2.1
      • 8.86
      • Published

      covectric

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

      • v0.0.7
      • 6.77
      • Published

      vect

      A Lightweight (Multidimensional) Vector Computation Library

        • v1.0.0
        • 6.54
        • Published

        math-cah

        Simply calculate the cosine of a triangle.

        • v1.0.0
        • 5.77
        • Published

        textsimilarity

        Simple text similarity module

        • v0.0.1
        • 5.77
        • Published

        math-cospi

        Computes cos(πx).

        • v1.0.0
        • 5.40
        • Published

        negcos

        Calculate the negative cosine of an angle

        • v1.0.0
        • 4.27
        • Published

        cosinity

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

          • v1.0.3
          • 4.08
          • Published

          es-vector-math

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

          • v0.0.9
          • 2.65
          • 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
          • 2.65
          • 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
          • 2.52
          • Published

          cos1ne-similarity

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

          • v1.0.2
          • 2.47
          • Published

          @rbxts/wave

          A sine/cosine wave implementation for Roblox

          • v1.0.0
          • 2.47
          • Published

          @stdlib/random-array-cosine

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

          • v0.2.1
          • 0.00
          • Published

          vector-space-model-similarity

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

            • v1.0.161
            • 0.00
            • Published

            trigonometry.sol

            Basic trigonometric cuntions, sine and cosine

            • v1.0.2
            • 0.00
            • Published

            content-based-filtering

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

              • v1.0.1
              • 0.00
              • Published

              @stdlib/random-iter-cosine

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

              • v0.2.1
              • 0.00
              • Published