Time series anomaly detection
Project description
Welcome to Gripa
Introduction
Gripa is a python package for time series anomaly detection. The name of Gripa is taken from Scandinavian languages, which means grab or catch or seize, and not meant as Flu in Spanish :smile:.
Why Gripa?
- Gripa is light-weight. Try Gripa before you build LSTM or Transformer for your time series anomaly detection.
- Gripa is accurate. Gripa has two available algorithms that perform very well in detecting anomalies on your time series data.
- Gripa is comprehensive. Gripa can detect three types of anomaly: global anomaly, contextual anomaly, and level-shift.
Quick Start
Installation
Python 3.9or higher is required.
python -m pip install gripa
Usage
# Load data
from gripa import Gripa
detector = Gripa()
anomalies = detector.fit_predict(data)
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)
Contact
Hamid Dimyati - hamid.dimyati@outlook.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gripa-0.1.3.tar.gz.
File metadata
- Download URL: gripa-0.1.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.8.11 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
744e502a13d269c7f843a19b6e3776bf6c49b2b1eef8721fa7e5ff774d16df87
|
|
| MD5 |
26a3e2fb6bc43d189585a6dffdbdc188
|
|
| BLAKE2b-256 |
34dc34fa71c750a661b4966a1a80c9746360eb236d4222f1f3ec5365d178378d
|
File details
Details for the file gripa-0.1.3-py3-none-any.whl.
File metadata
- Download URL: gripa-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.8.11 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68c2ff23bce7d6abb681eb390d6087cb4cde29d31af39e4ede210f3fecdc7f7d
|
|
| MD5 |
efbefd2381453986da980189026dccd1
|
|
| BLAKE2b-256 |
d113925cb77b4866d306acdf04a17c4e36bbd86b5b2584dfecef1812339b0259
|