Skip to content

edi_kernels 1.0.0 — Python bindings for EDI (Experimental Design and Inference)

Choose a tag to compare

@kapelner kapelner released this 30 Aug 20:54
· 1083 commits to main since this release

Initial release of edi_kernels, the Python bindings for the C++ model-fitting kernels of EDI (Experimental Design and Inference) — the same solvers the EDI R package uses, called directly from Python with no R/Rcpp dependency, typically one to three orders of magnitude faster than pure-Python canonical fits.

  • pybind11 bindings for all 33 R/EDI/src model-fitting kernels (37 bound functions), covering continuous, binary, count, proportion, ordinal, incidence/GEE, survival, and GLMM/CLMM/LMM families.
  • EDI_CORE_ONLY build path: kernels compile directly from the R package's C++ sources against vanilla Eigen + LBFGSpp — no kernel logic duplicated.
  • Every optional argument exposed with working defaults; R-fixture parity tests (atol=rtol=1e-9) plus omitted-argument tests for every kernel (176 tests).
  • Canonical-baseline benchmark registry (statsmodels, lifelines, scikit-survival, …) and a generated benchmark report.
  • Portable wheels via cibuildwheel (manylinux_2_28, macOS x86_64+arm64, Windows) published to PyPI via Trusted Publishing.

Known issue (fixed in post1): the published sdist could not be built from source.

Full details: CHANGELOG · PyPI