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

Anomaly Detection: Add Daily Season with Hourly Interval to HoltWinter #546

Merged
merged 3 commits into from
Mar 10, 2024

Conversation

zeotuan
Copy link
Contributor

@zeotuan zeotuan commented Mar 6, 2024

Add Daily Season with Hourly Interval to HoltWinter: #296
Add constructor that directly take seriesPeriodicity

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zeotuan
Copy link
Contributor Author

zeotuan commented Mar 10, 2024

rdsharma26 Hi Can you help review this PR? It would be great if HoltWinter support more seasonality and interval. Also having a custom seriesPeriodicity would allow others to construct their own seasonality without always having to make changes to source code

@rdsharma26
Copy link
Contributor

@zeotuan Thanks for the PR! The change looks good. However, would it be possible to add a unit test that shows how a custom value for seriesPeriodicity can be used?

@zeotuan
Copy link
Contributor Author

zeotuan commented Mar 10, 2024

@rdsharma26 Thanks. Tests Added for Custom seriesPeriodicity and Hourly Interval/Daily Seasonality

@@ -207,6 +207,73 @@ class HoltWintersTest extends AnyWordSpec with Matchers {
anomalies should have size 3
}
}

"work on hourly data with daily seasonality" in {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test for custom seriesPeriodicity as well? The two tests are testing the original constructor and not the new constructor.

@zeotuan
Copy link
Contributor Author

zeotuan commented Mar 10, 2024

I have addressed the comments.

@rdsharma26
Copy link
Contributor

Thanks for addressing the comments. LGTM.

@rdsharma26 rdsharma26 merged commit f6449d1 into awslabs:master Mar 10, 2024
1 check passed
rdsharma26 pushed a commit that referenced this pull request Apr 3, 2024
#546)

* Add Daily Season with Hourly Interval, Add custom periodicity constructor

* Add Custom seriesPeriodicity, Hourly interval with Daily seasonality tests

* Add Test using custom seriesPeriodicity
rdsharma26 pushed a commit that referenced this pull request Apr 16, 2024
#546)

* Add Daily Season with Hourly Interval, Add custom periodicity constructor

* Add Custom seriesPeriodicity, Hourly interval with Daily seasonality tests

* Add Test using custom seriesPeriodicity
rdsharma26 pushed a commit that referenced this pull request Apr 16, 2024
#546)

* Add Daily Season with Hourly Interval, Add custom periodicity constructor

* Add Custom seriesPeriodicity, Hourly interval with Daily seasonality tests

* Add Test using custom seriesPeriodicity
rdsharma26 pushed a commit that referenced this pull request Apr 16, 2024
#546)

* Add Daily Season with Hourly Interval, Add custom periodicity constructor

* Add Custom seriesPeriodicity, Hourly interval with Daily seasonality tests

* Add Test using custom seriesPeriodicity
rdsharma26 pushed a commit that referenced this pull request Apr 17, 2024
#546)

* Add Daily Season with Hourly Interval, Add custom periodicity constructor

* Add Custom seriesPeriodicity, Hourly interval with Daily seasonality tests

* Add Test using custom seriesPeriodicity
rdsharma26 pushed a commit that referenced this pull request Apr 17, 2024
#546)

* Add Daily Season with Hourly Interval, Add custom periodicity constructor

* Add Custom seriesPeriodicity, Hourly interval with Daily seasonality tests

* Add Test using custom seriesPeriodicity
shriyavanvari pushed a commit that referenced this pull request May 2, 2024
#546)

* Add Daily Season with Hourly Interval, Add custom periodicity constructor

* Add Custom seriesPeriodicity, Hourly interval with Daily seasonality tests

* Add Test using custom seriesPeriodicity
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