Commit 97498ea
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 87724b7 commit 97498ea
File tree
6 files changed
+130
-134
lines changed- UTILS
- dfextensions
- groupby_regression/tests
- quantile_fit_nd
6 files changed
+130
-134
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
394 | 398 | | |
395 | 399 | | |
396 | 400 | | |
397 | | - | |
398 | | - | |
| 401 | + | |
| 402 | + | |
399 | 403 | | |
400 | 404 | | |
401 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
221 | 242 | | |
222 | 243 | | |
223 | 244 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments