Skip to content

Commit 194142d

Browse files
author
miranov25
committed
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-optimization
1 parent 18bdeb3 commit 194142d

File tree

3 files changed

+1261
-521
lines changed

3 files changed

+1261
-521
lines changed

UTILS/dfextensions/groupby_regression/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
GroupByRegressorOptimized,
2727
)
2828

29+
# Phase 7: Sliding Window Regression (M7.1)
30+
from .groupby_regression_sliding_window import (
31+
make_sliding_window_fit,
32+
InvalidWindowSpec,
33+
PerformanceWarning,
34+
)
35+
2936
# Version info
3037
__version__ = '2.0.0'
3138
__author__ = 'Marian Ivanov'
@@ -37,4 +44,8 @@
3744
'make_parallel_fit_v3',
3845
'make_parallel_fit_v4',
3946
'GroupByRegressorOptimized',
47+
# Sliding Window (Phase 7)
48+
'make_sliding_window_fit',
49+
'InvalidWindowSpec',
50+
'PerformanceWarning',
4051
]

0 commit comments

Comments
 (0)