Skip to content

Commit

Permalink
bug zillow#112: window size identification fixed for trend change det…
Browse files Browse the repository at this point in the history
…ection
  • Loading branch information
sayanchk committed Sep 7, 2022
1 parent 3d24650 commit 4385582
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions luminaire/exploration/data_exploration.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ def __init__(self,
'D': 7,
}

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'] else None

self.tc_max_window_length = 24

Expand Down

0 comments on commit 4385582

Please sign in to comment.