number-anomaly-detector

An anomaly detector for numbers

https://github.com/stratosphereips/number-anomaly-detector

Science Score: 44.0%

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

  • CITATION.cff file
    Found 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 (6.6%) to scientific vocabulary

Keywords

anomaly-detection
Last synced: 6 months ago · JSON representation ·

Repository

An anomaly detector for numbers

Basic Info
  • Host: GitHub
  • Owner: stratosphereips
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 21.5 KB
Statistics
  • Stars: 2
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 1
Topics
anomaly-detection
Created over 4 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Contributing Code of conduct Citation Security

README.md

Number Anomaly Detector

  • Author: Sebastian Garcia (eldraco@gmail.com, @eldracote)

An anomaly detector for numbers. You can give a file with one number per line and it will print the anomalies. You can also give numbers in the STDIN and it will print the anomalies every X amount of numbers.

Dependencies

Please install the following dependencies: - pyod: PyOD is a comprehensive and scalable Python toolkit for detecting outlying objects in multivariate data.

pip install pyod

Usage

From a file

``` $ ./numberanomalydetector.py -f test-numbers.txt Simple Number Anomaly Detector. Version: 0.1 Author: Sebastian Garcia (eldraco@gmail.com)

Top anomalies values score 35345 3.129754 24562 1.766415 2 1.338806 ```

From STDIN

``` $ cat test-numbers.txt | ./numberanomalydetector.py Simple Number Anomaly Detector. Version: 0.1 Author: Sebastian Garcia (eldraco@gmail.com)

Top anomalies values score 35345 1.999886

Top anomalies values score 35345 3.331550 2 1.284752

Top anomalies values score 35345 3.129754 24562 1.766415 2 1.338806

```

Performace

Using the PCA model, is capable of training and testing 1 million numbers in 0.38 seconds

Docker

To run the tool using Docker use our Docker Hub image:

bash docker run stratosphereips/number_anomaly_detector:latest number_anomaly_detector.py -f test-numbers.txt

Owner

  • Name: Stratosphere IPS
  • Login: stratosphereips
  • Kind: organization
  • Location: Prague

Cybersecurity Research Laboratory at the Czech Technical University in Prague. Creators of Slips, a free software machine learning-based behavioral IDS/IPS.

Citation (CITATION.cff)

cff-version: 1.2.0
title: >-
  Number Anomaly Detector: An anomaly detector for numbers
message: 'If you use this software, please cite it as below.'
type: software
authors:
  - given-names: Sebastian
    family-names: Garcia
    email: sebastian.garcia@agents.fel.cvut.cz
    affiliation: >-
      Stratosphere Laboratory, AIC, FEL, Czech
      Technical University in Prague
    orcid: 'https://orcid.org/0000-0001-6238-9910'

GitHub Events

Total
Last Year

Dependencies

.github/workflows/autotag.yml actions
  • actions/checkout v2 composite
  • anothrNick/github-tag-action 1.36.0 composite
.github/workflows/docker-image.yml actions
  • 8398a7/action-slack v3 composite
  • actions/checkout v2 composite
  • docker/build-push-action v2 composite
  • docker/login-action v1 composite
  • docker/metadata-action v4 composite
Dockerfile docker
  • cgr.dev/chainguard/python latest-dev build
  • cgr.dev/chainguard/python latest build
requirements.txt pypi
  • pyod *