refactor: 代码审查修复 - 日期过滤、性能优化、数据泄露防护

- 修复 data_loader.py 财务数据日期过滤,支持按范围加载
- 优化 MADClipper 使用窗口函数替代 join,提升性能
- 修复训练日期边界问题,添加1天间隔避免数据泄露
- 新增 .gitignore 规则忽略训练输出目录
This commit is contained in:
2026-02-25 21:11:19 +08:00
parent 593ec99466
commit a9e4746239
24 changed files with 3597 additions and 56 deletions

View File

@@ -8,6 +8,7 @@ from src.pipeline.processors.processors import (
MinMaxScaler,
RankTransformer,
Neutralizer,
MADClipper,
)
__all__ = [
@@ -18,4 +19,5 @@ __all__ = [
"MinMaxScaler",
"RankTransformer",
"Neutralizer",
"MADClipper",
]