crypto_predictor
8138629e06
Merge branch 'feature/code_optimization'
2026-02-12 10:10:29 +08:00
crypto_predictor
fe986256c0
feat: Export N-BEATS and TTM-R2 models to ONNX format
2026-02-12 10:02:26 +08:00
crypto_predictor
c0a02868ac
feat: refactor model inference architecture
...
- Unified inference logic into models/inference.py
- Added InferenceManager for handling DLinear, N-BEATS, and TTM-R2 models
- Updated prediction_service.py and auto_trade_polymarket.py to use the new manager
- Fixed dependency issues (torch, transformers)
- Resolved logger duplication issue
- Verified with test_models_feb_2026.py
2026-02-11 22:07:32 +08:00
crypto_predictor
7990312878
feat: 添加 ONNX 导出功能及 DLinear 模型导出
2026-02-08 15:05:09 +08:00
crypto_predictor
55453d3739
feat(frontend): 添加交易看板,统一时区为CST
...
refactor(db): 移除所有SQLite相关代码,迁移至MySQL
2026-02-07 16:48:14 +08:00
crypto_predictor
8de6c54887
feat: Add MySQL support and migration script
2026-02-06 16:35:08 +08:00
crypto_predictor
59fcb11ffa
接入数据库
2026-02-04 18:35:10 +08:00
crypto_predictor and Claude Sonnet 4.5
9bbdc8d42b
Initial commit: BTC 1h prediction model (53.10% accuracy)
...
🎯 项目成果:
- 准确率: 53.10% (2026年测试集)
- 任务类型: 二分类 (预测涨/跌)
- 特征: OHLCV + RSI + MACD (9个特征)
- 训练数据: 2020-2025年BTC小时数据 (52,351序列)
- 测试数据: 2026年1-29日 (484序列)
📊 性能指标:
- 精确率: 51.79%
- 召回率: 49.36%
- F1分数: 0.5054
- 预测分布: 非常平衡 (偏差仅-11个)
🔬 实验历史:
- 尝试了5种方案 (回归/分类, 不同数据划分)
- 分类任务优于回归任务 (53.10% vs 49.5%)
- 全量训练避免了过拟合问题
📦 主要模型文件:
- models/checkpoints/dlinear_classification_2026/
- best_model.pt (最佳模型)
- preprocessor.pkl (预处理器)
- test_2026_results.json (测试结果)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-01-29 21:27:15 +08:00