Great tool but it seems that ruptures can correctly detect 2 out of 3 correctly. Am I doing something wrong? I’ve attached the data.
Rupture_Test_Data1.xlsx
It’s a log log so here’s my code snippet
`def detect_and_plot(x, y, title):
Change point detection on log-transformed data
xy = np.column_stack((x, y))
algo = rpt.Pelt(model="rbf").fit(xy)
result = algo.predict(pen=10)
x_log = np.log(data_cleaned['tD (x)'].to_numpy())
y_log = np.log(data_cleaned['pDp (y)'].to_numpy())
`
Here’s the plot and the 3rd change point, should occur around 14, but it is occurring around 19. Any guidance will be much appreciated.
Great tool but it seems that ruptures can correctly detect 2 out of 3 correctly. Am I doing something wrong? I’ve attached the data. Rupture_Test_Data1.xlsx
It’s a log log so here’s my code snippet `def detect_and_plot(x, y, title):
Change point detection on log-transformed data
x_log = np.log(data_cleaned['tD (x)'].to_numpy()) y_log = np.log(data_cleaned['pDp (y)'].to_numpy()) ` Here’s the plot and the 3rd change point, should occur around 14, but it is occurring around 19. Any guidance will be much appreciated.