harbinger

Framework for integration and analysis of event detection methods - Research Project

https://github.com/cefet-rj-dal/harbinger

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Framework for integration and analysis of event detection methods - Research Project

Basic Info
  • Host: GitHub
  • Owner: cefet-rj-dal
  • License: other
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 25.8 MB
Statistics
  • Stars: 21
  • Watchers: 5
  • Forks: 3
  • Open Issues: 1
  • Releases: 0
Created almost 6 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  fig.alt = "Harbinger example figure"  
)
```

# Logo do pacote Harbinger Harbinger


![GitHub Stars](https://img.shields.io/github/stars/cefet-rj-dal/harbinger?logo=Github)
![CRAN Downloads](https://cranlogs.r-pkg.org/badges/harbinger)


**Harbinger** is a framework for event detection in time series. It provides an integrated environment for anomaly detection, change point detection, and motif discovery. Harbinger offers a broad range of methods and functions for plotting and evaluating detected events.

For anomaly detection, methods are based on:
- Machine learning model deviation: Conv1D, ELM, MLP, LSTM, Random Regression Forest, and SVM
- Classification models: Decision Tree, KNN, MLP, Naive Bayes, Random Forest, and SVM
- Clustering: k-means and DTW
- Statistical techniques: ARIMA, FBIAD, GARCH

For change point detection, Harbinger includes:
- Linear regression, ARIMA, ETS, and GARCH-based approaches
- Classic methods such as AMOC, ChowTest, Binary Segmentation (BinSeg), GFT, and PELT

For motif discovery, it provides:
- Methods based on Hashing and Matrix Profile

Harbinger also supports **multivariate time series analysis** and **event evaluation** using both traditional and soft computing metrics.

The architecture of Harbinger is based on **Experiment Lines** and is built on top of the [DAL Toolbox](https://github.com/cefet-rj-dal/daltoolbox). This design makes it easy to extend and integrate new methods into the framework.

---

#  Examples

Examples of Harbinger are organized by application area:

- [General](https://github.com/cefet-rj-dal/harbinger/tree/master/general)
- [Anomalies](https://github.com/cefet-rj-dal/harbinger/tree/master/anomalies)
- [Change points](https://github.com/cefet-rj-dal/harbinger/tree/master/change_point)
- [Motifs](https://github.com/cefet-rj-dal/harbinger/tree/master/motifs)

```{r example}
library(harbinger)

#loading the example database
data(examples_anomalies)

#model
model <- harbinger()

#stub detector
detection <- detect(model, examples_anomalies$simple$serie)

# filtering detected events
library(dplyr)
print(detection |> dplyr::filter(event==TRUE))
```

---

#  Installation

The latest version of Harbinger is available on CRAN:

```r
install.packages("harbinger")
```

You can install the development version from GitHub:

```r
library(devtools)
devtools::install_github("cefet-rj-dal/harbinger", force = TRUE, upgrade = "never")
```

---

#  Bug reports and feature requests

If you find any bugs or would like to suggest new features, please submit an issue here:


Owner

  • Name: Data Analytics Lab
  • Login: cefet-rj-dal
  • Kind: organization

GitHub Events

Total
  • Issues event: 3
  • Watch event: 7
  • Push event: 149
  • Pull request event: 2
Last Year
  • Issues event: 3
  • Watch event: 7
  • Push event: 149
  • Pull request event: 2

Packages

  • Total packages: 1
  • Total downloads:
    • cran 23,491 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 14
  • Total maintainers: 1
cran.r-project.org: harbinger

A Unified Time Series Event Detection Framework

  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 23,491 Last month
Rankings
Stargazers count: 17.5%
Forks count: 21.5%
Dependent packages count: 28.8%
Dependent repos count: 34.5%
Average: 38.2%
Downloads: 88.6%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • MLmetrics * imports
  • Matrix * imports
  • ROCR * imports
  • RSNNS * imports
  • TSPred * imports
  • class * imports
  • dplyr * imports
  • e1071 * imports
  • elmNNRcpp * imports
  • forecast * imports
  • ggplot2 * imports
  • nnet * imports
  • randomForest * imports
  • rugarch * imports
  • stringr * imports
  • tree * imports