Skip to content

Calculating distances #5969

Answered by ajdapretnar
DrRDStanley asked this question in Q&A
May 11, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You are referring to cosine similarity, which is indeed the cosine of the angle between vectors. But this is cosine distance, which is 1-cosine(angle). Hence the difference.

For normalization, please refer to https://en.wikipedia.org/wiki/Feature_scaling and also our own documentation, which explains which type of normalization was used: https://orangedatamining.com/widget-catalog/unsupervised/distances/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DrRDStanley
Comment options

Answer selected by DrRDStanley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug report Bug is reported by user, not yet confirmed by the core team
2 participants
Converted from issue

This discussion was converted from issue #5968 on May 12, 2022 07:06.