Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support computing mode #10

Open
sehrgut opened this issue Mar 21, 2019 · 0 comments
Open

Support computing mode #10

sehrgut opened this issue Mar 21, 2019 · 0 comments

Comments

@sehrgut
Copy link

sehrgut commented Mar 21, 2019

It would be great if this could track frequency of inputs to provide mode in addition to mean and median. Since a vector of datapoints is already being maintained, the small additional storage for frequency shouldn't be an issue. (If online algorithms for mean and stdev were being used to handle unbounded input streams or reduce memory footprint, I would be more concerned about the space taken by a frequency table.)

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

No branches or pull requests

1 participant