Skip to content

Commit

Permalink
Merge pull request #1 from papaemman/bug/weekly-exploration-failure
Browse files Browse the repository at this point in the history
bug zillow#112: window size identification fixed for trend change detection
  • Loading branch information
papaemman committed Sep 15, 2022
2 parents 580318c + c6f1a63 commit c9008d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luminaire/exploration/data_exploration.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ def __init__(self,
tc_window_len_dict = {
'H': 24,
'D': 7,
'W':4
}

if freq in ['H', 'D']:
self.tc_window_length = tc_window_len_dict.get(freq)
self.tc_window_length = tc_window_len_dict.get(freq) if freq in ['H', 'D', 'W'] else None

self.tc_max_window_length = 24

Expand Down

0 comments on commit c9008d5

Please sign in to comment.