← ClaudeAtlas

kg-baselinelisted

Build fast, strong, correctly-validated baselines for the current competition from the plugin's templates — the main model plus diverse families on the same folds — log them to the ledger, decide the accepted baseline and produce a validated submission file.
TranBaDat2607/claude-code-kaggle-grandmaster · ★ 2 · AI & Automation · score 78
Install: claude install-skill TranBaDat2607/claude-code-kaggle-grandmaster
# /kg-baseline Run kgkit with the Bash tool, as `PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit <command>`: this command pre-approves that form for the kgkit calls it makes. Submitting, pushing or publishing still asks (so does a PowerShell `$env:` assignment). Arguments: `$ARGUMENTS` 1. Read `.kaggle-gm/competition.json` and CLAUDE.md; require frozen folds (run `/kg-cv` first if `data/folds.csv` is missing). 2. Choose the template from `${CLAUDE_PLUGIN_ROOT}/templates/` by task: tabular → `train_gbdt.py`; images → `train_image.py`; text → `train_transformer.py`. Copy into `src/`, vendor kgkit with `PYTHONPATH="$KGKIT_HOME" python -m kgkit vendor third_party/` so `from kgkit import ...` works (the templates look in `third_party/`), and adapt the CONFIG block (paths, target, id, metric, features, model). 3. Smoke test (1 fold, tiny settings), then the full run. Keep the baseline simple and fast — its job is to be correct and to calibrate CV vs LB. With a local NVIDIA GPU, train XGBoost / CatBoost there: `python src/train_gbdt.py --model xgb --device cuda` (or `KG_DEVICE=cuda`). Without `--name` the run is named `<model>_baseline`. Keep the templates' compute defaults (skill `compute-efficiency`). Images and text: after the smoke test run `--bench` once. An INPUT-BOUND verdict (images decoded from full size every epoch) slows every later experiment, so pre-resize or cache the inputs before the full run. 4. **Tabular: diverse baselines on the