Commit 194142d
miranov25
cd ~/alicesw/O2DPG/UTILS/dfextensions/groupby_regression
# Stage files
git add groupby_regression_sliding_window.py
git add __init__.py
git add tests/test_groupby_regression_sliding_window.py
# Commit
git commit -m "feat: Phase 7 M7.1 - Sliding window regression
- Implement zero-copy accumulator for memory-efficient windowing
- Support 3D-6D sparse binned data with integer coordinates
- Integrate statsmodels (OLS, WLS, GLM, RLM fitters)
- Add comprehensive 31-test suite (30 passing, 1 skipped)
- Python 3.9.6 compatible with proper type hints
Key features:
- Hash-map based neighbor aggregation (no DataFrame replication)
- Boundary truncation for edge bins
- Quality flags for insufficient statistics
- Rich provenance metadata in .attrs
- Clear error messages for invalid inputs
Tests: 30/30 passing (1 skipped - v4 parity requires v4)
Performance: <5 min for 400k rows (numpy backend)
Version: 2.1.0
Ready for M7.1 review."
# Push
git push origin feature/groupby-optimization1 parent 18bdeb3 commit 194142d
File tree
3 files changed
+1261
-521
lines changed- UTILS/dfextensions/groupby_regression
- tests
3 files changed
+1261
-521
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
40 | 51 | | |
0 commit comments