Skip to content
HasanAI
Log in Sign up
Playground Series 2026 / Predicting Stellar Class
NLP Other 2026

Predicting Stellar Class

Kaggle
2816 teams
Balanced Accuracy Score
Swag
Ended June 30, 2026
View on Kaggle

Playground Series - Season 6 Episode 6

What the winners did

Compared from 3 published write-ups Β· AI summary, check the originals

The hard part: The competition was difficult due to the risk of public leaderboard overfitting, requiring teams to rely on local validation metrics that often disagreed with public scores, and to manage the diminishing returns of adding models to large ensembles.

Lessons to take to your next competition All lessons & trends β†’

  1. Monitor the gap between local CV and public LB scores; if they diverge significantly, trust the local metric to avoid leaderboard overfitting.
  2. Do not blindly blend with high-scoring public solutions; verify that their features and models align with your local validation strategy.
  3. Use a stable, low-noise optimization metric (like weighted log-loss) that is mathematically equivalent to the competition metric (balanced accuracy) for more reliable hyperparameter tuning.
  4. There is a ceiling to ensemble size; adding models beyond a certain point (e.g., >100 for Optimistix) can degrade performance rather than improve it.
  5. Aligning the probability scales of diverse models (e.g., adjusting for class priors) before stacking can improve the effectiveness of the meta-model.

Shared by the top teams (the baseline)

  • Prioritizing local cross-validation (CV) or Out-of-Fold (OOF) scores over the public leaderboard to avoid overfitting. Optimistix, Andreas Palmgren, Jerry
  • Using a meta-model, such as Logistic Regression or MLP, to combine the outputs of multiple base models. Optimistix, Andreas Palmgren, Jerry

What set each team apart (the edge)

  • Optimistix: Explicitly tracked CV-LB agreement to identify and resist 'blind blending' with high-scoring public notebooks, which they found caused private leaderboard crashes.
  • Jerry: Optimized using class-weighted log-loss (weights 1/(K*pi_c)) and aligned probability scales by dividing by empirical priors, theoretically equating to maximizing balanced accuracy but with lower CV noise.
  • Andreas Palmgren: Constructed a 92-model stack that specifically integrated public artifacts (XGB and RealMLP) alongside locally trained models, finding that narrower local chains scoring higher were not always the best choice.

Side by side

The same questions answered for each published solution
TeamValidationModelsEnsembling & post-processingDidn't work
#1 Optimistix
Resisting blind blending to maintain CV-LB agreement allowed a robust ensemble to climb from rank 344 to 1 on the private leaderboard.
  • Tracked CV-LB agreement to identify blind blending and avoid local leaderboard overfitting
  • Achieved midway CV of 0.970506 with LB of 0.97171
  • Selected final submission based on highest CV among top LB scoring models
  • Identified CV ceiling around 0.97080 and LB ceiling around 0.97200
  • Used diverse models: XGB, LGBM, CatBoost, RealMLP, TabM, ET, HGB, RF, YDF, FT-Transformer, TabNet
  • Leveraged AutoML libraries: Autogluon, Light AutoML, FLAML, PyTabKit
  • Best solo model was CatBoost based on @cdeotte's CAT-v3
  • Ensemblers included Logistic Regression with Logits, XGB, LGB, CatBoost, Simple MLP, RealMLP
  • Combined 30+ models initially, growing to 49 models for best LR-Logits ensemble
  • LR with Logits and MLP were the best overall ensemblers
  • Selected 78-model LR-Logits ensemble with CV 0.970510 and LB 0.97179
  • Selected 89-model MLP ensemble with CV 0.970598 and LB 0.97172
  • Growing ensemble size beyond 100 models caused performance deterioration
  • Blending with high-scoring public notebooks resulted in private LB crashes
  • Adding new models failed to beat the CV 0.97060 / LB 0.97180 wall
  • Voting over 3 submissions for LB 0.97188 was deemed unlikely to translate to private LB
#6 Andreas Palmgren
Success came from stacking 92 diverse models and trusting local OOF over public leaderboard scores.
  • 5-fold validation used for local training and tuning.
  • Trusting local OOF mattered more than chasing public LB.
  • Public LB scores were noted as often overfitted.
  • 24 RealMLP / RealMLP blends
  • 19 XGBoost models
  • 12 CatBoost models
  • 5 LightGBM models
  • 92-model OOF probability stack.
  • Combined public artifacts and locally trained/tuned models.
  • Stacking provided small but real lift over strongest single member.
  • Narrower, patchier chains scoring higher locally were not used.
  • Many new ideas tried in final days were decided against using.
#8 Jerry
Minimizing class-weighted log-loss yields the same optimal decision rule as maximizing balanced accuracy, allowing reliable CV-based optimization.
  • Ignored public leaderboard, relying solely on CV score due to overfitting in top 100
  • Used weighted log-loss as the CV metric instead of balanced accuracy for lower noise
  • 60 base models including GBMs, logistic regression, RealMLP, and TabPFN
  • Logistic regression used as the final meta-model
  • Final submission combined 27 stackers and 60 base models via logistic regression
  • All base models output probabilities on the same balanced posterior scale before stacking
  • Ensembling with hill climbing in logit space was less effective than logistic regression

Solution cards

Structured notes from each write-up β€” the original is linked
πŸ₯‡ Optimistix 0.97075 Resisting blind blending to maintain CV-LB agreement allowed a robust ensemble to climb from rank 344 to 1 on the private leaderboard.

Validation

  • Tracked CV-LB agreement to identify blind blending and avoid local leaderboard overfitting
  • Achieved midway CV of 0.970506 with LB of 0.97171
  • Selected final submission based on highest CV among top LB scoring models
  • Identified CV ceiling around 0.97080 and LB ceiling around 0.97200

Features

  • Created 'Heavy FE' notebooks with 200-400 features
  • Reused excellent features from other participants' notebooks
  • Applied additional feature engineering to the best CatBoost model

Models

  • Used diverse models: XGB, LGBM, CatBoost, RealMLP, TabM, ET, HGB, RF, YDF, FT-Transformer, TabNet
  • Leveraged AutoML libraries: Autogluon, Light AutoML, FLAML, PyTabKit
  • Best solo model was CatBoost based on @cdeotte's CAT-v3
  • Ensemblers included Logistic Regression with Logits, XGB, LGB, CatBoost, Simple MLP, RealMLP

Training tricks

  • Performed hyperparameter tweaking on the best CatBoost model
  • Used Claude Code to facilitate adding new diverse models

Ensembling & post-processing

  • Combined 30+ models initially, growing to 49 models for best LR-Logits ensemble
  • LR with Logits and MLP were the best overall ensemblers
  • Selected 78-model LR-Logits ensemble with CV 0.970510 and LB 0.97179
  • Selected 89-model MLP ensemble with CV 0.970598 and LB 0.97172
  • Final winning submission was the MLP ensemble with the highest CV

What didn't work

  • Growing ensemble size beyond 100 models caused performance deterioration
  • Blending with high-scoring public notebooks resulted in private LB crashes
  • Adding new models failed to beat the CV 0.97060 / LB 0.97180 wall
  • Voting over 3 submissions for LB 0.97188 was deemed unlikely to translate to private LB
Read the full write-up on Kaggle β†’
#6 Andreas Palmgren 0.97054 Success came from stacking 92 diverse models and trusting local OOF over public leaderboard scores.

Validation

  • 5-fold validation used for local training and tuning.
  • Trusting local OOF mattered more than chasing public LB.
  • Public LB scores were noted as often overfitted.

Models

  • 24 RealMLP / RealMLP blends
  • 19 XGBoost models
  • 12 CatBoost models
  • 5 LightGBM models
  • 5 public XGB artifacts
  • 4 public RealMLP artifacts

Ensembling & post-processing

  • 92-model OOF probability stack.
  • Combined public artifacts and locally trained/tuned models.
  • Stacking provided small but real lift over strongest single member.

What didn't work

  • Narrower, patchier chains scoring higher locally were not used.
  • Many new ideas tried in final days were decided against using.
Read the full write-up on Kaggle β†’
#8 Jerry 0.97044 Minimizing class-weighted log-loss yields the same optimal decision rule as maximizing balanced accuracy, allowing reliable CV-based optimization.

Validation

  • Ignored public leaderboard, relying solely on CV score due to overfitting in top 100
  • Used weighted log-loss as the CV metric instead of balanced accuracy for lower noise

Models

  • 60 base models including GBMs, logistic regression, RealMLP, and TabPFN
  • Logistic regression used as the final meta-model

Training tricks

  • Used class-weighted loss (weights 1/(K*pi_c)) for models supporting sample weights
  • Applied post-hoc prior division and renormalization for models without weight support
  • Divided outputs by empirical priors [0.653818, 0.202899, 0.143283] to align probability scales

Ensembling & post-processing

  • Final submission combined 27 stackers and 60 base models via logistic regression
  • All base models output probabilities on the same balanced posterior scale before stacking

What didn't work

  • Ensembling with hill climbing in logit space was less effective than logistic regression

Compute

  • Used Chris's GPU stacker notebook for the final submission
Read the full write-up on Kaggle β†’

No public write-up found for: #2 XAVI, #3 nybbler, #4 cindy, #5 MILANFX, #7 Phillip Choi, #9 Vaibhav Nakrani, #10 Liornis.

Most Used Techniques

Aggregated across all top solutions
CatBoost 2
LightGBM 2
Neural Network 2
Transformer 2
XGBoost 2
Blending 1
Ensemble 1
Feature Engineering 1
Stacking 1

Podium Solutions

Gold, Silver, and Bronze winning approaches
πŸ₯‡

Optimistix

Score 0.97075
Blending CatBoost Ensemble Feature Engineering LightGBM Neural Network Transformer XGBoost

Key idea: Resisting blind blending to maintain CV-LB agreement allowed a robust ensemble to climb from rank 344 to 1 on the private leaderboard.

See the solution card β†’
πŸ₯ˆ

XAVI

Score 0.97065
πŸ₯‰

nybbler

Score 0.97062

Full Solutions Leaderboard

10 solutions archived
Rank Team Score Techniques Write-up
πŸ₯‡
Optimistix
0.97075
Blending CatBoost Ensemble Feature Engineering LightGBM Neural Network Transformer XGBoost
πŸ₯ˆ
XAVI
0.97065
β€”
β€”
πŸ₯‰
nybbler
0.97062
β€”
β€”
#4
cindy
0.97060
β€”
β€”
#5
MILANFX
0.97055
β€”
β€”
#6
Andreas Palmgren
0.97054
CatBoost LightGBM Neural Network Stacking Transformer XGBoost
#7
Phillip Choi
0.97053
β€”
β€”
#8
Jerry
0.97044
β€”
#9
Vaibhav Nakrani
0.97043
β€”
β€”
#10
Liornis
0.97042
β€”
β€”