Skip to content

Commit

Permalink
Added memory checking during experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
iuliivasilev committed Aug 22, 2024
1 parent aed7e85 commit a240fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions survivors/external/nonparametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class KaplanMeier:
get_confidence_interval_ : predict confidence interval by times
survival_function_at_times : predict survival probability by times
"""
def __init__(self):
def __init__(self, **kwargs):
self.timeline = None
self.survival_function = None
self.confidence_interval_ = None
Expand Down Expand Up @@ -114,7 +114,7 @@ class NelsonAalen:
cumulative_hazard_at_times : predict hazard probability by times
get_smoothed_hazard_at_times : predict smoothed hazard probability by times
"""
def __init__(self, smoothing=True):
def __init__(self, smoothing=True, **kwargs):
self.timeline = None
self.survival_function = None
self.smoothing = smoothing
Expand Down

0 comments on commit a240fc5

Please sign in to comment.