Skip to content

yeleshwarapu/apm_pump_failure_predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ Pump Health Classification for APM (Asset Performance Management)

This project implements a multi-class classification model to predict the operational state of a pumpβ€”OK, Warning, or Failureβ€”based on synthetic sensor data. It's designed to simulate a real-world APM use case where early detection of anomalies helps reduce unplanned downtime and improve asset reliability.


πŸ“Š Project Overview

  • Goal: Classify pump health using features like vibration, bearing temperature, seal pressure, and leak status.
  • Data: Synthetic dataset generated to simulate realistic operational profiles of rotating equipment.
  • Models Used:
    • Decision Tree Classifier
    • Logistic Regression (for interpretability)
  • Evaluation Metrics: Accuracy, Precision, Recall, F1-Score, Confusion Matrix

πŸ§ͺ Results

βœ”οΈ Model Performance (Decision Tree)

Class Precision Recall F1-Score Support
OK 0.98 0.97 0.98 157
Warning 0.71 0.80 0.75 15
Failure 1.00 0.96 0.98 28
Overall Accuracy – – 0.96 200

πŸ” Confusion Matrix

[[153   4   0]
 [  3  12   0]
 [  0   1  27]]

πŸ”Ž Feature Importances

Feature Decision Tree Logistic Regression Coefficient (Class=OK)
bearing_temp 0.73 -1.11
vibration 0.26 -1.76
seal_pressure 0.01 -0.56
leak_flag 0.00 +0.22

πŸ“ Project Structure

pump_apm_predictor/
β”œβ”€β”€ data/                  # Synthetic data files
β”œβ”€β”€ notebooks/             # Jupyter notebook(s) for training and evaluation
β”œβ”€β”€ plots/                 # Output figures (confusion matrix, etc.)
β”œβ”€β”€ src/                   # Optional: model scripts (train_model.py)
β”œβ”€β”€ requirements.txt       # Dependencies
β”œβ”€β”€ README.md              # Project overview
└── .gitignore             # Common file ignores

πŸš€ Future Work

  • Deploy model for real-time scoring using simulated sensor streams
  • Integrate with dashboard or PLC mockup
  • Implement Remaining Useful Life (RUL) estimation
  • Extend to multi-asset systems (compressors, motors)

πŸ“Œ Notes

This is part of a weekly APM mini-project series focused on exploring predictive maintenance workflows in asset-intensive systems.


πŸ“œ License

MIT License (add LICENSE file if publishing publicly)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published