Recognition of track defects through measured acceleration using a recurrent neural network