Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChangePoint detection for not daily data #134

Open
HiromasaYamanishi opened this issue Feb 12, 2024 · 0 comments
Open

ChangePoint detection for not daily data #134

HiromasaYamanishi opened this issue Feb 12, 2024 · 0 comments

Comments

@HiromasaYamanishi
Copy link

My data consists of records taken every 20 seconds, as shown below. However, when I performed change point detection with the following parameters, I was able to detect change points, but as shown in the attached figure, the trend line ended up being straight. I've read through the documentation but haven't been able to resolve this issue. I would appreciate it if you could help me.

data
beh_time | count
2023-01-01 10:01:20 | 50
2023-01-01 10:01:40 | 47
2023-01-01 10:02:00 | 46
2023-01-01 10:02:20 | 48
2023-01-01 10:02:40 | 52
....

parameter
res = model.find_trend_changepoints(
df=df,
time_col="beh_time", # time column name
value_col="count",
actual_changepoint_min_distance=timedelta(seconds=300),
resample_freq=timedelta(seconds=20),
regularization_strength=0.1,)

result
greykite_event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant