Skip to content

Commit

Permalink
Small fix to adapt to cm models
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolong0728 committed Nov 4, 2024
1 parent c718735 commit c6edcba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common_utils/views_stepshifter_darts/hurdle_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self, config: Dict, partitioner_dict: Dict[str, List[int]]):

@views_validate
def fit(self, df: pd.DataFrame, threshold: float = 0.1):
df = self._process_data(df)
self._prepare_time_series(df)

# Binary outcome (event/no-event)
Expand Down

0 comments on commit c6edcba

Please sign in to comment.