Inspiration

OBSCURA asks whether five atmospheric measurements (methane, nitrogen dioxide, carbon monoxide, absorbing aerosol index, and fire/flare activity) can be estimated at industrial sites the model has never seen, when the usual satellite retrievals are blocked. I wanted a clean, honest answer to a narrower question first: how far do the 29 official numerical features go under site-grouped validation, without using the 14-band image chips or any external weather, satellite or facility data.

What it does

The attached script trains a per-target blend of LightGBM and Ridge on official train.csv, adds seven derived features (wind components, log precipitation, a temperature-humidity product, B11-B12 difference, NDVI minus NDWI, and cloud fraction times solar radiation), and writes a 1,221-row prediction CSV in the required format. Validation is five-fold GroupKFold on site_key, so no training site appears in its validation fold. The official metric is masked mean column-wise RMSE (MCRMSE; lower is better).

Site-grouped out-of-fold scores (not a public leaderboard score):

  • Constant-mean baseline: 1.0000
  • Ridge: 0.9610
  • LightGBM: 0.9075
  • Selected blend: 0.9054

Almost all of the gain is in the aerosol index (blend RMSE 0.6272) and nitrogen dioxide (0.9186). Methane (0.9961), carbon monoxide (0.9876) and fire (0.9973) stay close to the mean baseline.

How we built it

For each target and fold, LightGBM is trained with early stopping on held-out sites (tighter regularisation for methane and CO), and Ridge (alpha = 5) is trained after median imputation and standardisation. A blend weight on a 0.05 grid is chosen to minimise out-of-fold RMSE of w*LightGBM + (1-w)*Ridge. Test predictions average the five fold models at those weights. sample_id is read and written as text. Random seed 42. CPU only. Python 3.13, LightGBM 4.7.0, scikit-learn 1.9.1. The full workflow is the attached train_submit.py; details, the per-target table, and limitations are in the research write-up PDF.

Challenges we ran into

Two thirds of the methane labels are missing, and methane, CO and fire barely transfer to new sites from tabular features. Ridge alone is worse than a constant predictor on those three targets. The official image chips were not used, because the full 9.19 GB release is mostly imagery and disk space was tight. Local scores can still be optimistic relative to test, because test sites are also later in time.

Accomplishments that we're proud of

A format-checked prediction file and a write-up that reports site-grouped validation, a mean baseline, unsuccessful ideas (unblended Ridge; deep trees for methane), and a clear next step, without claiming a solution to methane or CO or quoting a leaderboard score that did not yet exist.

What we learned

Site-grouped validation is the right split for this problem; a random row split would leak facility-specific patterns. The aerosol index is closely tied to the official spectral indices and transfers stably. Tight LightGBM regularisation for methane stopped at a mean best iteration of 9.8, which is evidence that the tabular features do not support a deep tree fit on that target.

What's next

Add the 14-band Sentinel-2 chips under the same site-grouped protocol, which may help fire and the gases. After the Kaggle prediction file is scored, the public leaderboard result can be added to this description and kept distinct from the local 0.9054 MCRMSE.

Kaggle and reproducibility

  • Participant: Mohammad Hoque
  • Kaggle / Devpost username: mogzz2008 (individual)
  • Kaggle profile: https://www.kaggle.com/mogzz2008
  • Code: train_submit.py, attached to this project
  • Data used: official train.csv, test.csv, sample_submission.csv only
  • This write-up and script were prepared with AI coding assistance under the author's direction. No pretrained image model and no external atmospheric datasets were used.

Built With

Share this project:

Updates

Submission history