6.8.7.2.5.1.1.4. statsmodels.sandbox.stats.stats_dhuard.HistDist.optimize_binning

HistDist.optimize_binning(method='Freedman')[source]

Find the optimal number of bins and update the bin countaccordingly. Available methods : Freedman

Scott