Skip to content

Add statistical algorithms to Compute module#34

Open
thatswiftguy wants to merge 1 commit intovmanot:masterfrom
thatswiftguy:feature/compute-statistics
Open

Add statistical algorithms to Compute module#34
thatswiftguy wants to merge 1 commit intovmanot:masterfrom
thatswiftguy:feature/compute-statistics

Conversation

@thatswiftguy
Copy link

Summary

  • Add mean, median, variance, standardDeviation, percentile, normalized, standardized, and pearsonCorrelation as extensions on Collection where Element: BinaryFloatingPoint
  • Add mode and valueRange on Collection where Element: Comparable & Hashable
  • Add RunningStatistics — an O(1) memory struct for incremental statistics over data streams using Welford's online algorithm, with MergeOperatable conformance for parallel aggregation

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant