Repository navigation
MLstatkit v0.1.9
MLstatkit v0.1.9
Highlights
-
🔧 Refactor & modularization
- Split
stats.pyinto dedicated modules:ci.py(Bootstrapping)conversions.py(AUC2OR)delong.py(DeLong’s test)metrics.py(get_metric_fn)permutation.py(Permutation test)
- Unified import interface (e.g.,
from MLstatkit import Delong_test).
- Split
-
🛠️ Functions restored
Bootstrapping,Permutation_test,AUC2ORre-integrated after refactor.- Maintained backward compatibility with
from MLstatkit.stats import ...(with deprecation warning).
-
📈 AUC2OR improvements
- Updated to use binormal model with exact
norm.ppf. - More accurate than polynomial approximation in older versions.
- Supports
return_all=Truefor intermediate values(z, d, ln_or, OR).
- Updated to use binormal model with exact
-
✅ Testing
- Added dedicated
tests/for all core functions (16 tests total, all passed). - Warnings confirmed for edge cases (
UndefinedMetricWarningin sklearn, deprecation warning forstats.py).
- Added dedicated
-
📖 Documentation
- Updated
README.mdwith clearer installation, usage examples, and mathematical formulas (LaTeX rendering). - Added update log, references, and deprecation notes.
- Updated
Migration notes
- Prefer new imports:
from MLstatkit import Delong_test, Bootstrapping, Permutation_test, AUC2OR
Old path from MLstatkit.stats import ... still works in v0.1.9, but will be removed in v0.2.0.