GUI for training and real-time classification