Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/centic9/benfordslaw
Sample application showing Benford's Law by looking at file sizes on the local disk
https://github.com/centic9/benfordslaw
Last synced: 2 days ago
JSON representation
Sample application showing Benford's Law by looking at file sizes on the local disk
- Host: GitHub
- URL: https://github.com/centic9/benfordslaw
- Owner: centic9
- License: mit
- Created: 2014-10-26T20:18:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T22:44:36.000Z (over 1 year ago)
- Last Synced: 2024-05-02T05:05:09.571Z (5 months ago)
- Language: Java
- Size: 297 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/centic9/BenfordsLaw.svg)](https://travis-ci.org/centic9/BenfordsLaw) [![Gradle Status](https://gradleupdate.appspot.com/centic9/BenfordsLaw/status.svg?branch=master)](https://gradleupdate.appspot.com/centic9/BenfordsLaw/status)
BenfordsLaw
===========Sample application showing [Benford's Law](https://en.wikipedia.org/wiki/Benford%27s_law) by looking at file sizes of
files found on the local disk.It may initially show a different distribution, but when looking at many files it usually will converge to the default
distribution suggested by Benford unless the file sizes are not randomly spread, i.e. if large numbers of equally sized
files are stored.## Getting started
#### Build it and create the distribution files
./gradlew install
#### Run it
build/install/BenfordsLaw/bin/BenfordsLaw
It will start to fetch sizes of files on your local disk and print out the current count of sizes starting with the
numbers from 0 to 9 (0 is only used for 0-sized files).You can also pass in the start-directory as commandline argument.
#### Change it
Create matching Eclipse project files
./gradlew eclipse
#### Licensing
* BenfordsLaw is licensed under the [MIT License].