Inspiration
We were inspired by the potential of satellite imagery and machine learning to help monitor environmental conditions and atmospheric indicators. The OBSCURA challenge gave us an opportunity to explore how satellite data and environmental information can be combined to make predictions for locations that a model has never seen before.
As a team from Madagascar, we were also motivated to take part in an international AI research challenge and strengthen our practical machine learning skills.
What it does
Our solution predicts five target variables: methane (t_ch4), nitrogen dioxide (t_no2), carbon monoxide (t_co), aerosol-related index (t_aai), and fire-related signal (t_firms).
It combines environmental and geographical variables with features extracted from Sentinel-2 satellite images to generate predictions for the competition's test dataset.
How we built it
We built our solution using Python and machine learning libraries, including NumPy, Pandas, Rasterio, and Scikit-learn.
Our workflow included:
- Loading and exploring the training and test datasets.
- Processing Sentinel-2 GeoTIFF images with Rasterio.
- Extracting spectral statistics such as mean, standard deviation, and percentiles.
- Calculating spectral indices, including NDVI, NDWI, NDMI, and NBR.
- Handling cloud and invalid pixels.
- Combining satellite-derived features with environmental variables.
- Evaluating Ridge Regression, HistGradientBoosting, and ExtraTrees models.
- Using five-fold GroupKFold validation based on site_key to reduce data leakage between locations.
- Selecting models based on their validation performance and generating the final submission.
Challenges we ran into
One of our main challenges was working with satellite images containing clouds and invalid pixels. We needed to develop a feature extraction process that could handle these conditions.
Another challenge was generalization. Since the test data represents locations not seen during training, random validation could give misleading results. We therefore used GroupKFold based on site_key.
We also faced challenges related to target distributions, missing values, model selection, and finding a balance between model complexity and reliable validation performance.
Accomplishments that we're proud of
We successfully developed a complete machine learning pipeline combining satellite image processing, feature engineering, and multi-target prediction.
We are particularly proud of implementing site-based cross-validation and comparing several machine learning approaches rather than relying on a single model.
Our initial submitted solution achieved a public leaderboard score of 1.10024.
Most importantly, we gained practical experience working with real satellite data and participating in an international AI research competition.
What we learned
Through OBSCURA, we learned how to process satellite imagery, extract meaningful spectral features, and combine them with structured environmental data.
We also improved our understanding of cross-validation, data leakage, regression models, model selection, and the importance of generalization to unseen locations.
This challenge helped us understand that successful machine learning is not only about choosing a powerful model, but also about preparing data carefully and evaluating results correctly.
What's next for OBSCURA – Satellite AI Research
We would like to continue improving our solution by:
- Exploring additional satellite-derived features.
- Investigating methods to improve predictions for imbalanced targets.
- Testing more advanced machine learning and ensemble approaches.
- Improving validation strategies to better estimate performance on unseen locations.
- Studying the contribution of individual feature groups.
Our goal is to keep learning, improving our approach, and developing stronger skills in artificial intelligence and environmental data analysis.
Built With
- extratrees
- imagery
- learning
- machine
- numpy
- pandas
- python
- rasterio
- regression
- ridge
- satellite
- scikit-learn
- sentinel-2