From bb92e7400e90f71a962c29cf7f41f1bab4c08258 Mon Sep 17 00:00:00 2001 From: Gregor Jaeger Date: Mon, 24 Aug 2020 13:33:37 +0200 Subject: [PATCH] doc, Window-based change point detection - description of predict function, Correction --- ruptures/detection/window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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