Skip to content

Adding forecasting #89

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChrisThompsonTLDR
Copy link

  • Implemented forecasting algorithms: linear regression, moving average, weighted moving average, and exponential smoothing
  • Added isForecast flag to TrendValue to differentiate between historical and forecasted data
  • Updated documentation in CHANGELOG.md and README.md to reflect new features

…stUntil()`

- Implemented forecasting algorithms: linear regression, moving average, weighted moving average, and exponential smoothing
- Added `isForecast` flag to `TrendValue` to differentiate between historical and forecasted data
- Updated documentation in `CHANGELOG.md` and `README.md` to reflect new features
@Pawel-IT
Copy link

Pawel-IT commented Jun 1, 2025

This is a great feature and in my opinion well within the scope of this package.

If this doesn't get merged for some reason you should consider creating a new package that extends Trend with these features added. I am going to do that for my own project where this is really useful while we wait for a merge.

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.

2 participants