Machine failure prediction

Comparison of four classification models that detect potential machine failures from sensor data.

Status
Completed
Year
2025
Technologies
R, RStudio, R Markdown, caret, Random Forest, XGBoost, SVM, Logistic regression

Problem

Machine failure is a rare event and sensor data mostly describes normal operation. The model has to flag the risk before the machine stops.

Goal

Build and compare predictive models for binary classification: failure or normal operation.

Architecture

  1. Dataset: 10,000 observations, 8 variables
  2. Descriptive statistics and normality tests
  3. Data preprocessing
  4. Training: Random Forest, XGBoost, SVM, logistic regression
  5. Evaluation on a test set, ROC curve and AUC

Results

  • AUC 0.9783 for XGBoost
  • AUC 0.9691 for Random Forest
  • Reproducible report in R Markdown

Industrial data analysis work, June 2025. The AUC values come from the report shown in the screenshot and refer to a single dataset. They are not a claim about performance in another production environment.

Next projectM6 ball stud