A two-step algorithm for acoustic emission event discrimination based on recurrent neural networks