镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

cosine similarity and other distance measures #61

Open

Description

@xd009642

Title is fairly self explanatory, I've found the need for cosine distance at various times (and other distance metrics) that probably fit well in ndarray-stats. Maybe here we can decided on a few different ones and what is/isn't in scope for this crate

Activity

  1. LukeMathWalker commented on Mar 20, 2020

    @LukeMathWalker
    Member

    Cosine similarity would fit quite well in the scope - we already have a bunch of distance functions, so we can definitely expand the collection.
    What else do you have in mind?

  2. xd009642 commented on Mar 20, 2020

    @xd009642
    CollaboratorAuthor

    Hmm only other distance function I've made use of in my day to day has been KL divergence, I'm sure there's other common ones though 😄

  3. xd009642 commented on Mar 20, 2020

    @xd009642
    CollaboratorAuthor

    Oh well that's an easy one to cross off then 😂

    Do you have any other distance metrics in mind?

  4. beyarkay commented on Feb 8, 2024

    @beyarkay

    Just wanted to check in on this issue? Adding cosine similarity seems like something I could do so I might take a crack if there's no other constraints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions