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

Segmentation with holidays #480

Open
khosravym opened this issue Feb 12, 2024 · 1 comment
Open

Segmentation with holidays #480

khosravym opened this issue Feb 12, 2024 · 1 comment

Comments

@khosravym
Copy link
Contributor

Energy usage in buildings typically varies on holidays compared to weekends or other weekday-hour brackets. The segmentation allows us to easily define a new map, like the following example, and segregate holiday data from the rest. This enhances the regression accuracy through more precise occupancy bins. However, one challenge is the number of data points in the holiday segment, which is necessary to prevent overfitting due to the number of independent variables (such as 168 weekday-hours, temperature bins, etc.). I would recommend to update segment_weights... and segment_time_series functions of segmentation.py to include holidays.

"three_month_weighted": {
"jan": "dec-jan-feb-weighted",
"feb": "jan-feb-mar-weighted",
"mar": "feb-mar-apr-weighted",
"apr": "mar-apr-may-weighted",
"may": "apr-may-jun-weighted",
"jun": "may-jun-jul-weighted",
"jul": "jun-jul-aug-weighted",
"aug": "jul-aug-sep-weighted",
"sep": "aug-sep-oct-weighted",
"oct": "sep-oct-nov-weighted",
"nov": "oct-nov-dec-weighted",
"dec": "nov-dec-jan-weighted",
"holiday": "holiday",
},

@travis-recurve
Copy link
Contributor

The new hourly model does not work quite like this.

The general idea of using holidays is good, but it's also complicated because every country and even regions within countries have their own unique holidays. There are python packages to help with this and we are considering adding into the new hourly model.

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

2 participants