Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 310 Bytes

File metadata and controls

17 lines (12 loc) · 310 Bytes

EntropyCalculator

Accepts a .txt file and calculates the probabillity and informational value for each character and calculates the entropy for the entire input.

Usage

Compile with:

javac src/entropy_calculator1.java

Run with:

java src/entropy_calculator data/INPUT_FILE.txt