gitlabds 2.5.0
Breaking changes
- dummy_info maps each level to its dummy column name ({col: {level: name}}). Code that reads
dummy_info[col] as a list needs updating; saved list-format configs still load with apply_dummy.
- Removed: trends.py (generate_sql_trend_query, trend_analysis), insights.py (prescriptions,
marginal_effects), clear_feature_serving_locks, serve_features(lock_timeout_seconds),
reduce_memory_usage and the other legacy memory helpers (use memory_optimization),
ModelEvaluator.check_dependencies. The calculate_* monitoring helpers are now private.
- Requires pandas>=2.2.2,<3.0 and scikit-learn>=1.4.
- ModelEvaluator raises instead of logging and continuing when lift, the multi-class importance
plots or the SHAP beeswarm fail.
- memory_optimization(apply_sparse=...) defaults to False, and "aggressive" no longer downcasts to float16.
Values and outputs that change
- Monitoring PSI now compares against the stored training distribution, so PSI values and drift
statuses change.
- ModelEvaluator metrics are correct for labels other than 0..n-1, and ECE and entropy are fixed.
- dummy_code/dummy_top now dummy code category columns; remove_outcome_proxies(mutual_info) is on a 0-1 scale.
Added
- ModelEvaluator OOT results: oot/oot_deviation_pct columns and oot_lift_df.
- dummy_code(drop_numeric=...) and dummy_code/dummy_top(drop_redundant_binary=...).
Full list: https://gitlab.com/gitlab-data/gitlabds/-/blob/2.5.0/CHANGELOG.md