Skip to content

feat: EqualData, bin edges with equal data counts computed from the data when filling - #3

Merged
SimonSPD merged 1 commit into
mainfrom
feat/equal-data-binning
Sep 30, 2026
Merged

SimonSPD merged 1 commit into
mainfrom
feat/equal-data-binning

Conversation

@SimonSPD

Copy link
Copy Markdown
Contributor

A variable's edges can be EqualData(n_bins, low, high): run_hist computes them per category from the data in the nominal region (smhtt_ul gof/build_binning.py: unweighted percentiles in (low, high), duplicates removed, -1e-4 and +2e-4 at the ends), fills every region and variation into them and records them in binning.json next to its output.

…ata when filling

A variable's edges can be EqualData(n_bins, low, high): run_hist computes them per category from the data in the
nominal region (smhtt_ul gof/build_binning.py: unweighted percentiles in (low, high), duplicates removed, -1e-4 and
+2e-4 at the ends), fills every region and variation into them and records them in binning.json next to its output.
@SimonSPD
SimonSPD merged commit 7f7ecfa into main Sep 30, 2026
2 checks passed
@SimonSPD
SimonSPD deleted the feat/equal-data-binning branch October 5, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant