December 4, 2023
Should France be your next vacation destination 🏖️ ?
Of course, there’s even a world class conference about it !
Spoiler : It was in the title
Same philosophy as (Tellier et al. 2021) : Daily prediction based on weather and beach crowd
Better (and cleaner) data
New statistical methods 🌟
New statistical methods 🌟
==
ML ==
statistics & IFELSES
Let’s play with some data
Our definition :
Hazard : Is it dangerous ?
Exposure : Is the beach crowded ?
Hazard (daily maximum)
Wave incidence factor : \({cos}_4H = cos((278 - D\_{SWELL}) \times \frac{\pi}{180})^4\)
Wave factor : \(HsTp = H_{SWELL} \times P_{SWELL}\)
Exposure
\(T_{air}\) : air temperature in °C (3-day pred. & daily max value)
\(day\) : day (ex : \(6\) for \(6^{th}\) of July)
\(month\) : month (ex : \(7\) for July)
\(wday\) : weekday (ex : \(1\) for monday)
Logistic regression : No tuning parameters
Random Forests : 3 tuning parameters
XGBoost : 4 tuning parameters
About these steps
Pre-processing
About these steps
360 models later…
Daily drownings events can’t be predicted with 100% precision.
Risk class | drownings | No drownings |
---|---|---|
1 | 31 | 502 |
2 | 20 | 44 |
3 | 4 | 20 |
4 | 16 | 11 |
5 | 7 | 8 |
Want to try this at home ?
Try our 📦 {DrowningPrediction} on and get in touch with us !
D. Carayon et al. 2023 | Predicting drownings using machine learning