Skip to content

Cosine metric produces NaN for identical items #39

@ArielMant0

Description

@ArielMant0

Due to precision problems, the cosine metric can give back NaN instead of 0 when two binary vectors (just 0's and 1's) are the exact same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions