bp

benford-py

Python implementation of Benford's Law tests.

Showing:

18 Versions

0.5.0

- Mantissas Kolmogorov Smirnov test (#54)

0.4.3.0

0.4.2

- Fixed NoneType division errorfrom Kolmogorov Smirnof critical_value in Test class property (#51) - Fixed divide by zero warning from np.where in KL-Divergence function (#52)

0.4.1

- Fixed "_" in public attributes of Bhattacharyya Distance and Kullback-Leibler Divergence - Exposed Bhattacharyya Coefficient (already implemented)

0.4.0

Implemented Bhattacharyya Distance and Kullback-Leibler Divergence stats - #50. Improved test coverage and parametrization License changed from GLP3 to BSD 3-clause

0.3.3

Bugfix: unwanted verbose param in summation function.

0.3.2

README.md solely for Pypi, without figures to render

0.3.1

Pypi-friendly README.md

0.3.0

  • save_plot and save_plot_kwargs parameters to show-plot functions and methods;
  • Improved test coverage;
  • Bug Fixes:
    • Fixed Kolmogorov_Smirnov critical value sfor 90% confidence #46;
    • Fixed division by zero error when a givem test produced an empty dataframe #41 #40.

0.2.7

Bug Fixes Naming problems after refactoring in submodules
  • _getmantissas() -> get_mantissas()
  • KS() -> kolmogorov_smirnov()
  • KS_2() -> kolmogorov_smirnov_2()
  • chi_square() -> chi_sq()
  • chi_square_2() -> chi_sq_2()

0.2.6

Bug fixes:
  • verbose parameter in mad and mse functions;
  • Input other than series in mad and mse functions; and
  • Fixed Rolling mad and mse functions and plots.

0.2.5

  • Lib separated in submodules, for better organization, debugging, and further documentation and testing; and
  • Debuted documentation with sphinx and ReadTheDocs. Mostly the docstrings autodocs functionality for now, but better than nothing.

0.2.1

  • Fixed second order tests when receiving numpy arrays as inputs (489801e6);
  • Fixed missing show_plot argument to Mantissa class report() method (db347f1b); and
  • Added block=True argument to plt.show(), so the plot may remain open while not freezing the terminal (93f8b7d1).

0.2.0

0.1.0.3

0.1.0.2

0.1.0.1

0.1.0