You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SciPy does this, and when you think about computing the distance between vectors, this interpretation makes the Bray-Curtis dissimilarity invariant to reflection. Taking the absolute value does not make a difference if the vector elements are all positive, so this change would not alter the behavior of the function for species counts or proportions. Must look into the symmetry properties of manhattan distance and see how many are maintained if we take the absolute value.
The text was updated successfully, but these errors were encountered:
kylebittinger
changed the title
Bray-Curtis distance should divide by the absolute value of the sum
bray_curtis() should divide by the absolute value of the sum
Jan 10, 2020
SciPy does this, and when you think about computing the distance between vectors, this interpretation makes the Bray-Curtis dissimilarity invariant to reflection. Taking the absolute value does not make a difference if the vector elements are all positive, so this change would not alter the behavior of the function for species counts or proportions. Must look into the symmetry properties of manhattan distance and see how many are maintained if we take the absolute value.
The text was updated successfully, but these errors were encountered: