Skip to content

Commit

Permalink
fixing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
juAlberge committed Jan 11, 2024
1 parent aaa9630 commit cd0e9f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hazardous/_gb_multi_incidence.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def __init__(
# Precompute the censoring probabilities at the time of the events on the
# training set:
self.ipcw_train = self.ipcw_est.compute_ipcw_at(self.duration_train)
self.uniform_sampling = uniform_sampling
if not uniform_sampling:
self.time_sampler = KaplanMeierEstimator().fit(self.y_train)

Expand Down

0 comments on commit cd0e9f9

Please sign in to comment.