Skip to content

Repository files navigation

Predictive Maintenance

This project explores a predictive maintenance dataset and compares several machine learning models for detecting likely machine failures before they happen.

What this project does

The notebook trains and evaluates classifiers on the AI4I 2020 Predictive Maintenance dataset to predict whether a machine will fail based on sensor and operating conditions.

Algorithms used

  • Logistic Regression
  • Random Forest
  • Support Vector Machine (SVM)

Dataset

The analysis uses the AI4I 2020 Predictive Maintenance Dataset, which contains sensor readings and operational metadata for machine health monitoring.

Results

The comparison shows that the Random Forest model achieved the strongest overall balance between accuracy and F1 score for this task.

Repository contents

  • Predictive_Maintenance_Code.ipynb — notebook with data loading, preprocessing, model training, and evaluation
  • data/dataset.csv — local copy of the dataset used for the analysis
  • images/ — generated plots and performance visuals
  • requirements.txt — Python dependencies for reproducing the notebook

Getting started

  1. Create and activate a virtual environment.
  2. Install dependencies:
    pip install -r requirements.txt
  3. Open the notebook in Jupyter and run the cells.

Example outputs

Model comparison

Confusion matrix

ROC curve

Feature importance

What I Learned

This project gave me practical experience with supervised machine learning by building and comparing multiple classification models.

Through this project I gained experience with:

  • Supervised machine learning workflows
  • Classification problems
  • Logistic Regression
  • Random Forest
  • Support Vector Machines (SVM)
  • Data preprocessing and feature scaling
  • Model evaluation using Accuracy, Precision, Recall and F1 Score
  • Comparing algorithms to identify the best-performing model
  • Understanding how dataset quality affects prediction reliability

The biggest takeaway was that a machine learning model is only as good as the data it is trained on. Poor-quality or unrepresentative datasets lead to unreliable predictions, regardless of how advanced the algorithm is.

About

Predictive maintenance using Applied Computational Intelligence and machine learning techniques for equipment failure prediction and maintenance scheduling. in industrial machinary

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages