Skip to content
HasanAI
Log in Sign up
Playground Series 2026 / Predicting Irrigation Need
The winners of this Playground episode are in the analysis queue (a few episodes are analysed each day). Meanwhile, see the leaderboard and discussions on Kaggle.
NLP Other 2026

Predicting Irrigation Need

Kaggle
4315 teams
Balanced Accuracy Score
Swag
Ended April 30, 2026
View on Kaggle

Playground Series - Season 6 Episode 4

What the winners did

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

The hard part: The competition was difficult due to a rare class (High at 3.3%) that made the Balanced Accuracy metric highly sensitive to slight variations, creating a 'wonky' correlation between Cross-Validation and Public LB scores.

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

  1. When a rare class distorts standard CV-LB correlation, consider two-stage binary classification to isolate classes with distinct separation.
  2. Linear stackers (Logistic Regression) on logits are a robust baseline for ensembling diverse model outputs, but complex L2 ensemblers like Hill Climbing may be needed for hard problems.
  3. If CV scores are noisy or uncorrelated with LB, do not trust them for final selection; instead, test submissions or use ensemble averaging strategies that prioritize stability.
  4. Heavy feature engineering does not always improve results; in some cases, simple models with good ensembling outperform complex feature sets.
  5. Leveraging LLMs to automate model generation and ensembling can significantly scale the number of base models, potentially improving performance through diversity.

Shared by the top teams (the baseline)

  • Using Logistic Regression (or similar linear models) as an L2 stacker/ensembler to blend base model predictions. cstdy, Chris Deotte, Optimistix
  • Ensembling a large number of base models from diverse families (GBDTs and NNs). cstdy, Chris Deotte, Optimistix
  • Relying heavily on Gradient Boosted Decision Trees (XGBoost, LightGBM, CatBoost) as primary base models. cstdy, Chris Deotte, Optimistix

What set each team apart (the edge)

  • cstdy: Implemented a two-stage binary classification approach (Low vs Rest, then Medium vs High) that exploited the lack of confusion between Low and High classes, outperforming standard multiclass methods.
  • Chris Deotte: Converted a previous month's solution using LLM agents to generate 150 models and built a custom GPU-accelerated PyTorch multinomial logistic regression stacker.
  • Optimistix: Used multiple L2 ensemblers (Hill Climbing, Differential Evolution, Top-K average) combined with label voting to mitigate instability from the rare class, deliberately ignoring CV scores for final submission selection.

Side by side

The same questions answered for each published solution
TeamValidationModelsEnsembling & post-processingDidn't work
#1 cstdy
A two-stage binary classification approach exploiting the lack of confusion between Low and High classes outperformed standard multiclass methods.
  • Used 5-fold cross-validation for all OOF predictions.
  • Ensemble CV score of 0.98155.
  • Individual model CV scores of 0.9805.
  • Thresholds searched using OOF balanced accuracy.
  • Two binary classifiers: Low vs Rest, then Medium vs High.
  • 17 XGBoost, 11 LightGBM, 10 CatBoost, 9 RealMLP.
  • 3 TabM, 2 LogisticRegression, and a few others.
  • Total of 61 OOF predictions used in final solution.
  • Blending via transform to logits + LogisticRegressionCV on 5 folds.
  • Greedy threshold selection based on OOF balanced accuracy.
  • Probability formulas combine binary classifier outputs.
  • Training second classifier on true Medium/High labels instead of predictions.
#2 Chris Deotte
Converted a March churn solution to April irrigation using LLM agents and ensembled 150 models with a custom GPU PyTorch logistic regression stacker.
  • CV score was 0.98175 for best unselected submission
  • CV to Private LB correlation was noisy
  • Similar CV scores (0.98175) mapped to Private LB range 0.98130-0.98170
  • 150 base models converted from March solution
  • PyTorch multinomial logistic regression stacker
  • Logistic regression implemented as single-layer neural network
  • Ensembled 150 scripts run on GPU
  • Blended Claude Code's ensemble with Codex's ensemble
  • Used forward or backward feature selection in stacker
  • Additional work after day 3 decreased Private LB by about 1e-4
  • NVIDIA cuML logistic regression lacked multinomial and class weighting support
#4 Optimistix
Heavy use of multiple L2 ensemblers and label voting over a small set of models mitigated the instability caused by a rare class and wonky CV-LB correlation.
  • CV-LB relationship was described as 'wonky' due to High class being 3.3% of samples
  • Balanced accuracy metric made scores sensitive to slight variations in High class predictions
  • CV scores were not trusted enough to base final selections on
  • Final selections were outside the team's top 10-15 CV scores
  • CatBoost identified as the top solo model on public LB
  • Various Gradient Boosted Decision Trees (GBDTs)
  • Various Neural Networks (NNs)
  • Logistic Regression with logits used as an L2 ensembler
  • Two-tier stacking with up to 11 L1 and 4 L2 ensemblers
  • L2 ensemblers included Hill Climbing, LogReg with logits, Differential Evolution, and Top-K average
  • Label voting was used due to classification task requirement
  • A 'leaner' version with 6 L1 and 2 L2 ensemblers was used to save time
  • Adding more models often did not improve CV or LB scores
  • Average across all L1 + L2 ensemblers was typically weaker
  • Various NNs and GBDT variants did not help final ensembles
  • Heavy feature engineering notebooks did not improve results

Solution cards

Structured notes from each write-up β€” the original is linked
πŸ₯‡ cstdy 0.98158 A two-stage binary classification approach exploiting the lack of confusion between Low and High classes outperformed standard multiclass methods.

Validation

  • Used 5-fold cross-validation for all OOF predictions.
  • Ensemble CV score of 0.98155.
  • Individual model CV scores of 0.9805.
  • Thresholds searched using OOF balanced accuracy.

Data & preprocessing

  • No external data or cleaning steps mentioned.
  • Dataset described as non-standard for this month.

Features

  • Feature engineering based on public notebooks.
  • One custom feature engineering set created by the author.

Models

  • Two binary classifiers: Low vs Rest, then Medium vs High.
  • 17 XGBoost, 11 LightGBM, 10 CatBoost, 9 RealMLP.
  • 3 TabM, 2 LogisticRegression, and a few others.
  • Total of 61 OOF predictions used in final solution.

Training tricks

  • Second classifier trained on predictions from the first model.
  • OOF predictions generated for the whole dataset in step two.
  • No specific losses, schedules, or hyperparameters detailed.

Ensembling & post-processing

  • Blending via transform to logits + LogisticRegressionCV on 5 folds.
  • Greedy threshold selection based on OOF balanced accuracy.
  • Probability formulas combine binary classifier outputs.

What didn't work

  • Training second classifier on true Medium/High labels instead of predictions.
Read the full write-up on Kaggle β†’
πŸ₯ˆ Chris Deotte 0.98151 Converted a March churn solution to April irrigation using LLM agents and ensembled 150 models with a custom GPU PyTorch logistic regression stacker.

Validation

  • CV score was 0.98175 for best unselected submission
  • CV to Private LB correlation was noisy
  • Similar CV scores (0.98175) mapped to Private LB range 0.98130-0.98170

Data & preprocessing

  • Original data had roughly 10k rows
  • Data contained no NANs
  • Features were a mix of numeric and categorical

Features

  • Minimal feature interactions in original data
  • XGBoost optimal max_depth was 1 on original data
  • Similar number of features with similar cardinalities to March competition

Models

  • 150 base models converted from March solution
  • PyTorch multinomial logistic regression stacker
  • Logistic regression implemented as single-layer neural network

Training tricks

  • Used Adam optimizer with learning rate 0.01
  • Applied weight decay to coefficients but not bias
  • Used balanced class weights for CrossEntropyLoss
  • Weight decay mapped as 1.0 / (C * len(y_tr))

Ensembling & post-processing

  • Ensembled 150 scripts run on GPU
  • Blended Claude Code's ensemble with Codex's ensemble
  • Used forward or backward feature selection in stacker

What didn't work

  • Additional work after day 3 decreased Private LB by about 1e-4
  • NVIDIA cuML logistic regression lacked multinomial and class weighting support

Compute

  • Ran 150 scripts on GPU over the weekend
  • Used PyTorch for fast GPU multinomial logistic regression
Read the full write-up on Kaggle β†’
#4 Optimistix 0.98133 Heavy use of multiple L2 ensemblers and label voting over a small set of models mitigated the instability caused by a rare class and wonky CV-LB correlation.

Validation

  • CV-LB relationship was described as 'wonky' due to High class being 3.3% of samples
  • Balanced accuracy metric made scores sensitive to slight variations in High class predictions
  • CV scores were not trusted enough to base final selections on
  • Final selections were outside the team's top 10-15 CV scores

Features

  • Several CatBoost variants with just a few different features
  • Notebooks with heavy feature engineering were tried but did not help

Models

  • CatBoost identified as the top solo model on public LB
  • Various Gradient Boosted Decision Trees (GBDTs)
  • Various Neural Networks (NNs)
  • Logistic Regression with logits used as an L2 ensembler
  • LightGBM (LGB) used as an L1 ensembler

Ensembling & post-processing

  • Two-tier stacking with up to 11 L1 and 4 L2 ensemblers
  • L2 ensemblers included Hill Climbing, LogReg with logits, Differential Evolution, and Top-K average
  • Label voting was used due to classification task requirement
  • A 'leaner' version with 6 L1 and 2 L2 ensemblers was used to save time
  • 3-way voting between two ensembles and strongest solo model for top public LB score
  • Average of L2 ensemblers often outperformed individual L2s

What didn't work

  • Adding more models often did not improve CV or LB scores
  • Average across all L1 + L2 ensemblers was typically weaker
  • Various NNs and GBDT variants did not help final ensembles
  • Heavy feature engineering notebooks did not improve results

Compute

  • Large ensembling notebook took an hour to run
Read the full write-up on Kaggle β†’

No public write-up found for: #3 r0tor team, #5 Topiast, #6 kobby_, #7 Kagick, #8 MILANFX, #9 automatylicza_KNAI, #10 UtaAzu.

Most Used Techniques

Aggregated across all top solutions
Ensemble 3
CatBoost 2
XGBoost 2
Feature Engineering 2
Blending 1
LightGBM 1
PyTorch 1

Podium Solutions

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

cstdy

Score 0.98158
Blending CatBoost Ensemble LightGBM XGBoost

Key idea: A two-stage binary classification approach exploiting the lack of confusion between Low and High classes outperformed standard multiclass methods.

See the solution card β†’
πŸ₯ˆ

Chris Deotte

Score 0.98151
Ensemble Feature Engineering PyTorch XGBoost

Key idea: Converted a March churn solution to April irrigation using LLM agents and ensembled 150 models with a custom GPU PyTorch logistic regression stacker.

See the solution card β†’
πŸ₯‰

r0tor team

Score 0.98147

Full Solutions Leaderboard

10 solutions archived
Rank Team Score Techniques Write-up
πŸ₯‡
cstdy
0.98158
Blending CatBoost Ensemble LightGBM XGBoost
πŸ₯ˆ
Chris Deotte
0.98151
Ensemble Feature Engineering PyTorch XGBoost
πŸ₯‰
r0tor team
0.98147
β€”
β€”
#4
Optimistix
0.98133
CatBoost Ensemble Feature Engineering
#5
Topiast
0.98133
β€”
β€”
#6
kobby_
0.98111
β€”
β€”
#7
Kagick
0.98110
β€”
β€”
#8
MILANFX
0.98106
β€”
β€”
#9
automatylicza_KNAI
0.98103
β€”
β€”
#10
UtaAzu
0.98097
β€”
β€”