Skip to content

fix: correct Spearman correlation for tied values - #15025

Open
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix/algo-14887-spearman-ties
Open

fix: correct Spearman correlation for tied values#15025
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix/algo-14887-spearman-ties

Conversation

@deepshekhardas

Copy link
Copy Markdown

Describe your change

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Add, change, or clarify documentation?

What does this implement/fix?

Fixes Spearman rank correlation computation when the input contains tied values — ranks are now averaged for ties.

Additional comments?

None.

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

Labels

awaiting reviews This PR is ready to be reviewed enhancement This PR modified some existing files tests are failing Do not merge until tests pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant