-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Closed
Copy link
Labels
3.12only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usage
Description
- Use sumprod() which is faster, simpler, and more accurate than rounding each multiplication before summation.
- For an additional speed-up and simplification, compute the (x_xi - bar) only once instead of multiple times.
- For Spearman's rank correlation, we can skip the (x_xi - bar) step because the ranks are centered around zero.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usage