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

Not detecting large spikes in data #331

Open
zdalvabaird opened this issue Aug 13, 2024 · 0 comments
Open

Not detecting large spikes in data #331

zdalvabaird opened this issue Aug 13, 2024 · 0 comments

Comments

@zdalvabaird
Copy link

I am using the cosine model on my timeseries which has many different forms of data but it isn't detecting any changes on some of the large spikes. Below here is the model and penalty I am using, and the segment of the graph that I am concerned about. Is there a mistake that I am making which causes it to not detect this as a change point?

for model, p in zip(models=[cosine], pens=[8]):
    print(model)
    try:
        algo = rpt.Pelt(model=models, min_size=0, jump=1)
        algo.fit(signal)
        result = algo.predict(pen=p)

image
image

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