Skip to content

Not detecting large spikes in data #331

@zdalvabaird

Description

@zdalvabaird

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions