Repository navigation
edi_kernels 1.0.0.post4 — ordinal GLMM, NegBin boundary, and GEE kernel fixes
·
939 commits
to main
since this release
Release of edi_kernels (Python bindings for EDI — Experimental Design and Inference C++ kernels). Not packaging-only: it fixes correctness/memory-safety bugs in bound kernels.
Fixed
fast_ordinal_glmm: non-contiguous matched-pairgroup_ids were silently split into singleton groups; rows are now stable-sorted by group before random-effect integration, plus multi-start optimization, a projected-score convergence check, damped-Newton polish, and principled handling of the zero-variance boundary.fast_adjacent_category_logit: probability/Hessian evaluation moved to a log-space recurrence with log-sum-exp normalization, eliminating overflow toInf/NaNon ordinary data.- NegBin family (
fast_neg_bin,fast_zinb,fast_hurdle_negbin, …): the Poisson limit (theta >= 1e4) is now recognized as a valid constrained solution with strict acceptance predicates and a guarded reduced-ZIP refit path, instead of failing because the dispersion score cannot vanish at finitetheta. gee_pairs_singletons: fixed a stack-buffer-overflow from a mismatched result-struct mirror in the bindings.
Changed (breaking)
- Fit results return
num_iter(wasiterations) plus a newhit_iteration_capboolean. fast_continuation_ratio_regressionnow models continuing past category k (sign convention reversed to match the other ordinal models).
Packaging
- Attempted piwheels (32-bit ARM Raspberry Pi) remediation:
scipy-openblas32requirements restricted to architectures it actually publishes for, plus an emulatedlinux/arm/v7sdist CI lane.