https://github.com/tsimpdim/benfordgraph
This is a simple python script that graphs a curve based on the Benford law
https://github.com/tsimpdim/benfordgraph
benford matplotlib pyplot python script
Last synced: 5 months ago
JSON representation
This is a simple python script that graphs a curve based on the Benford law
- Host: GitHub
- URL: https://github.com/tsimpdim/benfordgraph
- Owner: TsimpDim
- Created: 2017-11-19T17:09:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T09:30:58.000Z (about 8 years ago)
- Last Synced: 2024-12-28T16:43:16.165Z (about 1 year ago)
- Topics: benford, matplotlib, pyplot, python, script
- Language: Python
- Size: 1.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BenfordGraph
This is a simple python script that graphs a curve based on the Benford law. Read up on [Benford's Law](https://en.wikipedia.org/wiki/Benford%27s_law).
# Running the script
This script uses Python 3.6
To call this script type:
Benford.py
# Sample data sets
Several test data sets are included in the Tests folder, here are the sources:
[bank-full.csv](https://archive.ics.uci.edu/ml/datasets/bank+marketing)
[FL_insurance_sample.csv](https://support.spatialkey.com/spatialkey-sample-csv-data/)
[us-500.csv](https://www.briandunning.com/sample-data/)
[test.txt](http://mathworld.wolfram.com/BenfordsLaw.html)