All Projects → erdogant → benfordslaw

erdogant / benfordslaw

Licence: other
benfordslaw is about the frequency distribution of leading digits.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
shell
77523 projects

Projects that are alternatives of or similar to benfordslaw

MemStream
MemStream: Memory-Based Streaming Anomaly Detection
Stars: ✭ 58 (+100%)
Mutual labels:  fraud-detection, anomaly-detection
DGFraud-TF2
A Deep Graph-based Toolbox for Fraud Detection in TensorFlow 2.X
Stars: ✭ 84 (+189.66%)
Mutual labels:  fraud-detection, anomaly-detection
Pyod
A Python Toolbox for Scalable Outlier Detection (Anomaly Detection)
Stars: ✭ 5,083 (+17427.59%)
Mutual labels:  fraud-detection, anomaly-detection
deepAD
Detection of Accounting Anomalies in the Latent Space using Adversarial Autoencoder Neural Networks - A lab we prepared for the KDD'19 Workshop on Anomaly Detection in Finance that will walk you through the detection of interpretable accounting anomalies using adversarial autoencoder neural networks. The majority of the lab content is based on J…
Stars: ✭ 65 (+124.14%)
Mutual labels:  fraud-detection, anomaly-detection
distribution-cheatsheet
📈📄👀A lookup repo for a variety of discrete and continuous distributions (incl. Beta, Binomial, Cauchy, Chi-squared, Geometric, Hypergeometric, Normal & Poisson)
Stars: ✭ 43 (+48.28%)
Mutual labels:  distribution, chi-square
Feature-Engineering-for-Fraud-Detection
Implementation of feature engineering from Feature engineering strategies for credit card fraud
Stars: ✭ 31 (+6.9%)
Mutual labels:  fraud-detection, anomaly-detection
burrito
Wrap your application in a BEAM Burrito!
Stars: ✭ 465 (+1503.45%)
Mutual labels:  distribution
Anomaly Detection
anomaly detection with anomalize and Google Trends data
Stars: ✭ 38 (+31.03%)
Mutual labels:  anomaly-detection
celos
CelOS is a simple, easy-to-use, flatpak centric Linux distribution for everyone based on Ubuntu 20.04.
Stars: ✭ 18 (-37.93%)
Mutual labels:  distribution
FARED for Anomaly Detection
Official source code of "Fast Adaptive RNN Encoder-Decoder for Anomaly Detection in SMD Assembly Machine"
Stars: ✭ 14 (-51.72%)
Mutual labels:  anomaly-detection
DigitalCellSorter
Digital Cell Sorter (DCS): single cell RNA-seq analysis toolkit. Documentation:
Stars: ✭ 19 (-34.48%)
Mutual labels:  anomaly-detection
detection-rules
Threat Detection & Anomaly Detection rules for popular open-source components
Stars: ✭ 34 (+17.24%)
Mutual labels:  anomaly-detection
Meta-GDN AnomalyDetection
Implementation of TheWebConf 2021 -- Few-shot Network Anomaly Detection via Cross-network Meta-learning
Stars: ✭ 22 (-24.14%)
Mutual labels:  anomaly-detection
missCompare
missCompare R package - intuitive missing data imputation framework
Stars: ✭ 31 (+6.9%)
Mutual labels:  kolmogorov-smirnov
deviation-network
Source code of the KDD19 paper "Deep anomaly detection with deviation networks", weakly/partially supervised anomaly detection, few-shot anomaly detection
Stars: ✭ 94 (+224.14%)
Mutual labels:  anomaly-detection
Fraud-Analysis
Insurance fraud claims analysis project
Stars: ✭ 37 (+27.59%)
Mutual labels:  fraud-detection
Mean-Shifted-Anomaly-Detection
Mean-Shifted Contrastive Loss for Anomaly Detection
Stars: ✭ 61 (+110.34%)
Mutual labels:  anomaly-detection
whey
A simple Python wheel builder for simple projects.
Stars: ✭ 17 (-41.38%)
Mutual labels:  distribution
singular-spectrum-transformation
fast implementation of singular spectrum transformation (change point detection algorithm)
Stars: ✭ 41 (+41.38%)
Mutual labels:  anomaly-detection
predict-fraud-using-auto-ai
Use AutoAI to detect fraud
Stars: ✭ 27 (-6.9%)
Mutual labels:  fraud-detection

benfordslaw

Python PyPI Version License BuyMeCoffee Github Forks GitHub Open Issues Project Status Downloads Downloads Open In Colab Sphinx DOI

  • benfordslaw is Python package to test if an empirical (observed) distribution differs significantly from a theoretical (expected, Benfords) distribution. The law states that in many naturally occurring collections of numbers, the leading significant digit is likely to be small. This method can be used if you want to test whether your set of numbers may be artificial (or manipulated). If a certain set of values follows Benford's Law then model's for the corresponding predicted values should also follow Benford's Law. Normal data (Unmanipulated) does trend with Benford's Law, whereas Manipulated or fraudulent data does not.

  • Assumptions of the data:

    1. The numbers need to be random and not assigned, with no imposed minimums or maximums.
    2. The numbers should cover several orders of magnitude
    3. Dataset should preferably cover at least 1000 samples. Though Benford's law has been shown to hold true for datasets containing as few as 50 numbers.

⭐️ Star this repo if you like it ⭐️

Install benfordslaw from PyPI

pip install benfordslaw

Import benfordslaw package

from benfordslaw import benfordslaw

Documentation pages

On the documentation pages you can find detailed information about the working of the benfordslaw with many examples.


Examples

References

Citation

Please cite in your publications if this is useful for your research (see citation).

Maintainers

Contribute

  • All kinds of contributions are welcome!
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Licence

See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].