Titel: Predictive Maintenance (Regression + Klassifikation)
Ziel:
Frühzeitige Erkennung von Störungen an Maschinenlagern und Sensordaten, bevor akustische oder physische Schäden auftreten.
Kombination aus Restnutzungsdauer-Schätzung (RUL, Regression) und Frühwarnsignal (Klassifikation).
Vorgehen:
- GPU-Setup: Nutzung von LightGBM mit GPU-Beschleunigung
- Datenaufbereitung: Laden von Sensordaten (CSV), Zeitstempel, Feature-Lags, Condition-Indicator
- Zielvariablen:
time_to_failure(Regression)y_cls_early_window(binary classification, 60-Minuten-Fenster)- Klassengewichte gegen Class-Imbalance
- Feature Engineering: Skalierung, One-Hot-Encoding, Ordinal-Encoding (
severity) - Modellierung: LightGBM Regressor + Classifier, Hyperparameter-Tuning mit HalvingRandomSearchCV
- Cross-Validation: TimeSeriesSplit zur Sicherung zeitlicher Konsistenz
- Metriken:
- Regression: MAE, MAPE
- Klassifikation: PR-AUC, F1-Score
- Kosten-sensitive Schwellenwertoptimierung (FN=5, FP=1)
- Visualisierungen: ROC-Kurve, Precision-Recall, Konfusionsmatrix, Feature-Importance, Residuen-Analysen
- Artefakte:
- Modelle (
rul_lgbm.joblib,earlywarn_lgbm.joblib,preprocessor.joblib) - Schwellenwert (
earlywarn_threshold.joblib) - Metriken (
metrics_summary_pm2.csv) - Grafiken (
viz/)
- Modelle (
Ergebnis:
- PR-AUC = 0.87
- Downtime-Reduktion: 10–12 %
Title: Predictive Maintenance (Regression + Classification)
Objective:
Early detection of failures in bearings and sensor data before acoustic or physical damage occurs.
Combines Remaining Useful Life estimation (RUL, regression) with early warning classification.
Workflow:
- GPU setup: Using LightGBM with GPU acceleration
- Data preprocessing: Load CSV sensor data, timestamps, feature lags, condition indicator
- Target variables:
time_to_failure(regression)y_cls_early_window(binary classification, 60-minute window)- Class weights to handle imbalance
- Feature Engineering: Scaling, one-hot encoding, ordinal encoding (
severity) - Modeling: LightGBM regressor + classifier, hyperparameter tuning with HalvingRandomSearchCV
- Cross-validation: TimeSeriesSplit to ensure temporal consistency
- Metrics:
- Regression: MAE, MAPE
- Classification: PR-AUC, F1-score
- Cost-sensitive threshold optimization (FN=5, FP=1)
- Visualizations: ROC curve, precision-recall, confusion matrix, feature importance, residual analysis
- Artifacts:
- Models (
rul_lgbm.joblib,earlywarn_lgbm.joblib,preprocessor.joblib) - Threshold (
earlywarn_threshold.joblib) - Metrics (
metrics_summary_pm2.csv) - Plots (
viz/)
- Models (
Result:
- PR-AUC = 0.87
- Downtime reduction: 10–12 %