API Reference
There is only one module, gripa.Gripa, that can be used for detecting anomalies in time series.
class gripa.Gripa(window_size=11, algorithm="hpf", threshold=3)
Parameters
window_size: int or float, default=11algorithm: {"hpf", "ssa"}, default="hpf"threshold: float, default=3
Attributes
anomaly_score: score for labelling anomaly
Methods
fit(X): train the Gripa model, which can generate attributeanomaly_scorefit_predict(X): train and generate anomaly labels (TrueorFalse)