Insight expected: 221 train rows, 95 test rows, 37 raw columns. Confirms dataset is small, which justifies heavy regularisation, cross-validation strategy, and multi-seed averaging.
The raw dataset contains no structurally missing values in the feature columns after loading.
However, this does not mean preprocessing was skipped — median imputation was applied as a deliberate design choice, not a reaction to missing data.
Three critical decisions here:
Median over mean — Wildfire features have extreme outliers (one fire with 10,000 ha area skews the mean). Median is resistant to that.
Train medians applied to test — Computing medians on test data would constitute data leakage. The test set must be treated as unseen at all times.
Imputation before feature engineering — Engineered features like inv_distance = 1 / (dist + 0.1) would produce division-by-zero or inf if the underlying dist_min_ci_0_5h were missing. Imputing first prevents inf propagation through the entire feature pipeline.
This is the most critical EDA plot for a survival analysis project. A reviewer must immediately see the class imbalance and understand what censoring means in this context.
Insight expected:
The dataset contains 69 event cases (31.2%) and 152 censored cases (68.8%).
Most wildfire incidents are censored, meaning they did not reach an evacuation zone within the 72-hour observation window.
A censored case does not imply the fire was safe; it may have reached the evacuation zone after the observation period ended.
This makes the problem a time-to-event (survival analysis) task rather than a standard binary classification problem.
The high proportion of censored observations justifies the use of censoring-aware models such as GBSA and IPCW-based LightGBM.
This is the foundational visualisation of any survival analysis project. It answers: "What fraction of fires have NOT hit a zone by time T?" It is the standard academic reference plot for survival data. A portfolio without this curve is incomplete at university level.a
Insight expected:
The sharp decline in the early portion of the curve indicates that most evacuation-zone arrivals occur shortly after wildfire ignition.
The curve gradually flattens after 48–72 hours, suggesting that the risk of new arrivals decreases significantly over time.
The Kaplan-Meier estimator correctly accounts for censored fires, providing an unbiased estimate of survival probability.
The shape of the curve validates the choice of prediction horizons (12h, 24h, 48h, and 72h), as they cover the period where survival probability changes most rapidly.
The plateau near the end of the observation window suggests that most observable wildfire-arrival events are captured within the 72-hour timeframe.
Distributions tell you about skewness, outliers, and whether log transforms are necessary. Knowing that dist_min_ci_0_5h is right-skewed justifies log_distance and inv_distance as engineered features.
Insight expected
Most fires are located relatively close to evacuation zones, while a small number of incidents occur at very large distances, creating a long right tail in the distribution.
The presence of extreme values indicates that raw features may be dominated by outliers, potentially affecting model learning.
Log transformations can compress large values and make feature distributions more balanced and easier for tree-based models to utilize effectively.
Highly skewed variables often contain non-linear relationships with the target, motivating the creation of transformed features such as log_distance and log_eta.
Understanding feature distributions helps distinguish whether unusual values represent genuine wildfire behaviour or potential data quality issues.
Identifies multicollinearity. dist_min_ci_0_5h, log_distance, inv_distance, dist_rank are all distance transforms and will be highly correlated. This is a known weakness in the feature set and should be acknowledged.
Insights:
Distance-derived features form a clear correlation cluster because they originate from the same underlying variable and capture similar information.
High correlation among engineered features is expected and reflects deliberate feature transformation rather than data leakage.
Tree-based models such as GBSA and LightGBM are generally robust to multicollinearity, reducing the need for feature removal.
Feature importance may become concentrated on a single representative feature, causing other correlated features to appear less important despite carrying useful information.
Correlation analysis helps identify redundant features and provides transparency about potential limitations in model interpretability.
Boxplots show median and spread per group. If the median for event=1 and event=0 are clearly separated, the feature is a strong predictor. This is cleaner than histograms for comparing group distributions.
Insight expected:
Features with well-separated medians between event and censored groups are likely to contribute strongly to model predictions.
Distance-related variables are expected to show the greatest separation, highlighting proximity as a major factor influencing wildfire arrival.
Differences in the spread of the distributions indicate how consistently a feature behaves across wildfire incidents.
Significant overlap between the two groups suggests that the feature alone cannot determine the outcome and must be combined with other predictors.
The analysis helps identify which raw variables are most informative before feature engineering and model training.
With 221 rows, a single outlier can shift the model. area_first_ha and closing_speed_m_per_h can have extreme values. Outliers also justify using rank-based features.
Insight expected:
A small number of extreme wildfire incidents can disproportionately influence model behavior due to the limited dataset size.
Outliers may represent rare but operationally important wildfire scenarios that should be handled carefully rather than automatically removed.
Rank-based features help reduce the impact of extreme values while preserving the relative ordering of observations.
Comparing raw and ranked features can reveal whether model performance is sensitive to unusually large values.
Understanding outlier patterns helps determine whether transformations such as logarithmic scaling are necessary for stable feature representation.
Why: The notebook creates is_summer and is_afternoon flags. EDA must validate whether fires behave differently by month and hour. If they don't, those features are noise.
Insight expected:
Seasonal differences in hit rates would indicate that environmental conditions influence wildfire spread and evacuation-zone risk.
Higher event rates during specific hours of the day would justify the inclusion of time-based features in the model.
If certain months consistently exhibit elevated risk, the model can leverage seasonal patterns to improve prediction accuracy.
A noticeable difference between summer and non-summer periods would validate the is_summer feature as a meaningful predictor.
Weak or inconsistent patterns would suggest that temporal indicators contribute limited predictive value and may primarily act as supporting features rather than primary drivers.