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

Add some minimal trend analysis to cantal #7

Open
tailhook opened this issue Aug 8, 2016 · 0 comments
Open

Add some minimal trend analysis to cantal #7

tailhook opened this issue Aug 8, 2016 · 0 comments

Comments

@tailhook
Copy link
Owner

tailhook commented Aug 8, 2016

To make scheduling decisions we need two things: absolute value of some metric and a trend.

Currently, we fetch all the datapoints and compute math on top. But it's better to aggregate values in cantal itself. We already have aggregation function facility. We just need a few functions:

  1. Gradient value over N data points fit using least squares
  2. Moving average over N data points
  3. Maximum value over N data points (probably applied after moving average)
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