/Histogram_discretization

Python implementation of some discretiation algorithms

Primary LanguagePython

Histogram_discretization

Python implementation of the following discretiation algorithms:

  1. Square-root choice
  2. Sturges' formula
  3. Rice Rule
  4. Doane's formula
  5. Scott's normal reference rule
  6. Freedman–Diaconis' choice

Reference:

https://en.wikipedia.org/wiki/Histogram#Number_of_bins_and_width

Discretization of continuous features

avatar

Example:

python demo.py

Dependencies:

  1. pandas
  2. numpy
  3. scipy