Disruption Prediction in Fusion Devices through Feature Extraction and Logistic Regression