Views
No views yet
| Metric | Validation | Test |
|---|---|---|
| Accuracy | 78.9% | 78.9% |
| AUC | 0.888 | 0.879 |
| Log loss | 0.430 | 0.442 |
| File | Description |
|---|---|
hgb_ensemble.pkl | Pickled artifact: both sklearn models, blend weights, confidence calibrator, card index |
hgb_report.json | Full training report, splits, duration breakdown, confidence curves |
vocab.json | Card name vocabulary used during feature extraction |
accuracy_vs_confidence.png | Selective prediction curve on held-out test set |
accuracy_vs_confidence.json | Raw curve data |
confidence_training_stages.json | Per-tree-stage metrics for the training animation |
accuracy_vs_confidence_training.mp4 | Animation of confidence curve evolution during Extra Trees training |
1pip install git+https://github.com/cochon123/clash-royale-ai.git
2huggingface-cli download Cochon123/clash-royale-winner-predictor --local-dir models/winner_predictor1import pickle
2from pathlib import Path
3
4with Path("models/winner_predictor/hgb_ensemble.pkl").open("rb") as f:
5 artifact = pickle.load(f)
6
7hgb = artifact["models"]["hist_gradient_boosting"]
8trees = artifact["models"]["extra_trees"]
9hgb_weight = artifact["hgb_weight"]
10card_index = artifact["card_index"]cr-replays train-winner-hgb --input data/raw --trees 100