Prediction and classification of disruptions on Tokamaks