Cost-sensitive classification and explainable ML to predict wind turbine generator failures and reduce maintenance spend through proactive repairs. Tuned for the economics an operator actually faces: a missed failure costs a replacement, a false alarm costs an inspection. This is the proven predictive-maintenance pattern the SustainAI anchor build extends into sustainment and supply-exception triage.
ReneWind, a wind energy company, wanted to move from reactive repairs to predictive maintenance for its wind turbine generators. Using a ciphered sensor dataset with 40 engineered predictors and 25,000 labeled observations (20k train / 5k test), I built a suite of classification models to predict generator failures before breakdown.
The key challenge was highly asymmetric business costs: missing a true failure (False Negative) leads to expensive generator replacement and extended downtime, while false alarms (False Positives) only incur relatively cheap inspection and repair costs. I encoded this into a custom cost function and used it to drive model selection and threshold tuning.
The final solution is a tuned neural network classifier with an optimized decision threshold that achieves ~88% recall on failures on unseen data while materially reducing expected maintenance costs compared to baseline strategies.
📄 View Full Project Notebook (HTML)Wind energy is capital-intensive. Unplanned generator failures are especially costly because they combine:
ReneWind had extensive sensor coverage across turbines (environment, tower, gearbox, blades, brake, etc.), but limited ability to convert that data into forward-looking failure risk.
The target variable is binary (1 = failure, 0 = no failure), but the
business stakes are not symmetric:
From ReneWind’s perspective, it is much better to over-inspect than to miss a true failure. That philosophy guided the design of a custom cost function and a strong emphasis on recall and cost-weighted performance, not just accuracy.
The dataset is a transformed, ciphered version of ReneWind’s proprietary sensor data:
Key data preparation and EDA steps:
I first established strong baselines using standard ML algorithms and default thresholds:
These models provided early insight into feature importance and the trade-offs between recall and precision under the default 0.5 decision threshold.
To align model evaluation with business reality, I defined a custom cost metric that:
This metric was used alongside recall, precision, and F1-score to select the final model and to optimize the decision threshold.
After benchmarking traditional models, I experimented with several neural network architectures:
Through iterative tuning, I arrived at a deep, regularized MLP that became the champion model. I then:
To help engineers trust and act on model outputs, I:
This confirmed that the model was learning physically plausible failure patterns rather than exploiting noise or artifacts.
On the hold-out test set, the final tuned neural network achieved:
From an operations standpoint, this translates to:
Project Notebook (HTML):
Burns_Greg_ReneWind_Main_Project.html