On the identification of instabilities with neural networks on JET