Iskaj commited on
Commit
909bca5
1 Parent(s): 2935ca0

fix typo in robust method

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -274,7 +274,7 @@ def get_change_points(df, smoothing_window_size=10, method='CUSUM'):
274
  tsd = TimeSeriesData(df.loc[:,['time','OFFSET_LIP']])
275
  if method.upper() == "CUSUM":
276
  detector = CUSUMDetector(tsd)
277
- elif method.upper() == "ROBUSTSTAT":
278
  detector = RobustStatDetector(tsd)
279
  change_points = detector.detector(smoothing_window_size=smoothing_window_size, comparison_window=-2)
280
 
 
274
  tsd = TimeSeriesData(df.loc[:,['time','OFFSET_LIP']])
275
  if method.upper() == "CUSUM":
276
  detector = CUSUMDetector(tsd)
277
+ elif method.upper() == "ROBUST":
278
  detector = RobustStatDetector(tsd)
279
  change_points = detector.detector(smoothing_window_size=smoothing_window_size, comparison_window=-2)
280