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

Updates to change detection algorithms #161

Merged
merged 47 commits into from
Jul 16, 2024
Merged

Updates to change detection algorithms #161

merged 47 commits into from
Jul 16, 2024

Conversation

bmeyers
Copy link
Collaborator

@bmeyers bmeyers commented Jul 8, 2024

Recent changes to our model of smooth, periodic functions led to issues with using QSS in nonconvex mode for change point detection. We are deprecating the use of QSS and standardizing the use of CLARABEL to solve the SD problems. In addition, we are no longer using the non-convex formulation for change point detection. Instead, we solve the L1-heuristic problem and polish the solution.

In this PR, we make changes to the two subroutines that use this pattern: time shift detection and capacity change detection. Also, we update the unit test fixtures to account for the new SD models, after manually checking the outputs in the jupyter notebooks which are in the test fixtures.

bmeyers added 7 commits June 28, 2024 15:56
…at caught bad SD solutions. (3) new logic for finding transition points that pools neghboring nonzero differences. (4) new logic for choosing baseline for making corrections. (5) new logic for selecting best weight during hyperparameter tuning (largest weight with in bound set as min holdout error + 2% of test error range)
Copy link
Contributor

@Thistleman Thistleman left a comment

Choose a reason for hiding this comment

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

The code review looked good and the explanations made sense

@bmeyers bmeyers temporarily deployed to test-deployment July 16, 2024 16:28 — with GitHub Actions Inactive
@bmeyers bmeyers merged commit 39890f1 into main Jul 16, 2024
5 checks passed
@bmeyers bmeyers deleted the fixes branch July 16, 2024 16:42
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.

3 participants