number-anomaly-detector
An anomaly detector for numbers
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
Repository
An anomaly detector for numbers
Basic Info
Statistics
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
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
- Website: https://www.stratosphereips.org
- Twitter: StratosphereIPS
- Repositories: 25
- Profile: https://github.com/stratosphereips
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
- actions/checkout v2 composite
- anothrNick/github-tag-action 1.36.0 composite
- 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
- cgr.dev/chainguard/python latest-dev build
- cgr.dev/chainguard/python latest build
- pyod *