Stellenbosch : Stellenbosch University
Predictive Maintenance in Rail Transportation: An Explainable Machine Learning Approach
Abstract
dc:description.abstractRailway systems are integral to sustainable urban mobility, yet their reliability depends on effective maintenance strategies that prevent costly disruptions and safety hazards. Traditional fixed-interval maintenance approaches, although widely adopted, are inefficient and fail to capitalise on the predictive potential of modern condition-monitoring technologies. Predictive maintenance offers a transformative alternative by enabling data-driven interventions before failures occur. However, implementing predictive maintenance in safety-critical environments requires models that are not only accurate but also interpretable, robust, and validated through rigorous statistical methods. This thesis addresses these challenges by investigating interpretable supervised machine learning techniques for predicting and classifying passenger door failures in Gibela’s X’Trapolis Mega trainset using event-driven data from Alstom’s TrainTracer system. Both failure and non-failure incidences are analysed under time-aware partitions to learn discriminative patterns without temporal leakage. Passenger doors represent a high-risk subsystem due to their frequent actuation, exposure to environmental stressors, and direct impact on operational safety. Failures in this subsystem have the potential to immobilise trains, cause extended dwell times, and compromise passenger security, underscoring the need for proactive monitoring. A structured modelling methodology is proposed, encompassing data understanding, preparation, and model development, supported by advanced evaluation and explainability components. The study evaluates a diverse set of supervised learning algorithms, including decision trees, tree-based ensemble methods, logistic regression, support vector machine approximator’s, and multi-layer perceptron’s. Hyperparameter tuning is performed using time series cross-validation to preserve chronological integrity, while threshold optimisation enhances classification performance under severe class imbalance. Performance is assessed using complementary metrics such as F1-score, precision-recall area under the curve, and precision-recall trade-off’s, ensuring robust evaluation in imbalanced contexts. Statistical verification using the Mann-Whitney U test validates performance differences across folds and between models, providing confidence in model selection. Results show that the tree based ensemble outperform non-linear and neural network approaches. Explainability techniques, including feature importance, permutation importance, and SHapley Additive exPlanations, are integrated to deliver global and local interpretability. These insights enable the derivation of actionable threshold-based rules for maintenance alerts, bridging the gap between predictive modelling and operational decision-making. The findings demonstrate that machine learning models, combined with rigorous evaluation and explainability, have the potential to enhance predictive maintenance strategies, reduce downtime, and improve safety in railway systems. This research contributes a replicable methodology for deploying explainable artificial intelligence in industrial contexts, with the aim to support Gibela’s strategic goal of revitalising South Africa’s rail sector through reliable and efficient commuter services.
Degree
thesis:*- Grantor dc:publisher
- Stellenbosch : Stellenbosch University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Mabaso, Nelisa Zamantungwa Sphumelele
- Advisors dc:contributor.advisor
-
- Grobler, Jacomine
- Bekker, Anriette
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Repository record dc:identifier.uri
- https://scholar.sun.ac.za/handle/10019.1/136276
- OAI identifier oai:identifier
- oai:scholar.sun.ac.za:10019.1/136276