Vehicle rollover detection using recurrent neural networks