# AlphaGPT · A股因子挖掘版 - 依赖
# Python 3.10+ (推荐 3.11 / 3.13)
#
# 安装: pip install -r requirements.txt
#
# GPU 加速(可选,强烈推荐)另装 CUDA 版 torch,例如 CUDA 12.6:
#   pip install torch --index-url https://download.pytorch.org/whl/cu126

# 深度学习与数值计算
torch>=2.0.0          # Transformer 公式生成器 + 向量化回测
numpy>=1.24.0         # 数值运算

# 数据处理
pandas>=2.0.0         # DataFrame 因子加工
pyarrow>=12.0.0       # 读取 parquet 数据(如用 parquet 存储)

# 日志与进度
loguru>=0.7.0         # 结构化日志
tqdm>=4.66.0          # 训练进度条

# 因子交叉验证(pandas 白盒版比对用)
scipy>=1.10.0         # 相关系数等统计函数

# 可视化
matplotlib>=3.7.0     # 选股净值曲线绘图(equity_adapter/visualize.py)
