File size: 1,013 Bytes
594b014 1efb2db 594b014 1efb2db 594b014 1efb2db 594b014 1266cb3 1efb2db 594b014 1efb2db 594b014 1efb2db 594b014 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
---
tags:
- patchtst
- transformer
- finance
- weekly-returns
- learnfinance
- time-series
---
# LearnFinance PatchTST Model - v2026-02-13-070ecc52cbfe
OHLCV 5-channel PatchTST transformer model for predicting weekly stock returns.
## Model Details
- **Version**: v2026-02-13-070ecc52cbfe
- **Model Type**: PatchTST (Patch Time Series Transformer)
- **Training Window**: 2011-01-01 to 2026-02-13
- **Symbols**: 15 stocks
## Input Channels (11 total)
- OHLCV log returns (5): open, high, low, close, volume
- News sentiment (1)
- Fundamentals (5): gross_margin, operating_margin, net_margin, current_ratio, debt_to_equity
## Metrics
- Train Loss: 0.08469298437505571
- Validation Loss: 0.09838527299512129
- Baseline Loss: 0.10167970471390479
## Usage
```python
from brain_api.storage.huggingface import PatchTSTHuggingFaceModelStorage
storage = PatchTSTHuggingFaceModelStorage(repo_id="hajirazin/learnfinance-models-patchtst")
artifacts = storage.download_model(version="v2026-02-13-070ecc52cbfe")
```
|