Hierarchical ML Pipeline for trading predictions:
- Level 0: Attention Models (volatility/flow classification)
- Level 1: Base Models (XGBoost per symbol/timeframe)
- Level 2: Metamodels (XGBoost Stacking + Neural Gating)
Key components:
- src/pipelines/hierarchical_pipeline.py - Main prediction pipeline
- src/models/ - All ML model classes
- src/training/ - Training utilities
- src/api/ - FastAPI endpoints
- scripts/ - Training and evaluation scripts
- config/ - YAML configurations
Note: Trained models (*.joblib, *.pt) are gitignored.
Regenerate with training scripts.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
358 B
JSON
20 lines
358 B
JSON
{
|
|
"symbol": "XAUUSD",
|
|
"timeframe": "5m",
|
|
"period": {
|
|
"start": "2025-01-01",
|
|
"end": "2025-01-31"
|
|
},
|
|
"data_points": 5872,
|
|
"models_loaded": [
|
|
"XAUUSD_5m_high_h3",
|
|
"XAUUSD_5m_low_h3",
|
|
"metadata"
|
|
],
|
|
"predictions_generated": [
|
|
"delta_high",
|
|
"delta_low",
|
|
"attention_weights"
|
|
],
|
|
"output_path": "charts/XAUUSD/5m"
|
|
} |