-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi,
I was going through the code trying to understand exactly how are the different distance metrics calculated (in particular I wanted to understand the difference between using pearson and pearson2).
I may have missed some passages, and forgive me if I did, but in line 97 of the script umap_checks.R I stumbled upon this:
available.metrics <- c(manhattan=mdManhattan, pearson2=mdCenteredPearson, pearson=mdCosine, cosine=mdCosine, euclidean=mdEuclidean)
where pearson=mdCosine.
Is there a reason for pearson and cosine to point at the same function?
Do I understand correctly that metric = pearson will use the mdCosine function to calculate distances?
Thank you for putting together this package, it has worked really well so far :)
Marta
Metadata
Metadata
Assignees
Labels
No labels