Views
No views yet
CLAUDE.md and research/AUDIT_LOG.md for
the complete methodology.| Path | Model | Zone | Test MAE (R6) |
|---|---|---|---|
production_dk1/lightgbm.pkl | LightGBM | DK1 | 27.99 |
production_dk1/xgboost.pkl | XGBoost | DK1 | 28.04 |
production_dk1/extra_trees.pkl | ExtraTrees | DK1 | 28.32 |
production_dk1/random_forest.pkl | RandomForest | DK1 | 28.59 |
production_dk2/lightgbm.pkl | LightGBM | DK2 | 29.24 |
production_dk2/xgboost.pkl | XGBoost | DK2 | 29.38 |
production_dk2/random_forest.pkl | RandomForest | DK2 | 29.34 |
production_dk2/extra_trees.pkl | ExtraTrees | DK2 | 29.36 |
.pkl is a Python pickle of {"model": <fitted estimator>, "meta": {...}}
with metadata for the asinh scale, feature column list, hyperparameters, and
the train/val/test split dates.1from research.ml.scripts.inference import ProductionForecaster
2
3# Auto-downloads the requested checkpoint from this HF repo if not local
4fc = ProductionForecaster(zone="DK1", model="lightgbm")
5forecast = fc.predict_range(start="2025-07-01 00:00", end="2025-07-07 23:00")1from huggingface_hub import hf_hub_download
2import pickle
3
4ckpt_path = hf_hub_download(
5 repo_id="Phongsakon/the-traders-trinity-checkpoints",
6 filename="production_dk1/lightgbm.pkl",
7)
8with open(ckpt_path, "rb") as f:
9 payload = pickle.load(f)
10model = payload["model"] # the fitted LightGBMForecaster wrapper
11meta = payload["meta"] # asinh_scale, feature_columns, train_end, ...