diff --git a/ruptures/detection/window.py b/ruptures/detection/window.py index 72c6811a..1d509dec 100644 --- a/ruptures/detection/window.py +++ b/ruptures/detection/window.py @@ -254,8 +254,8 @@ def predict(self, n_bkps=None, pen=None, epsilon=None): Args: n_bkps (int): number of breakpoints to find before stopping. - penalty (float): penalty value (>0) - penalty (float): penalty value + pen (float): penalty value (>0) + epsilon (float): reconstruction budget (>0) Returns: list: sorted list of breakpoints