Skip to content

Chaitanya5068/predictive-maintenance-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AI-Powered Predictive Maintenance System (ML + Streamlit)


🌟 Project Overview

This project presents an intelligent Predictive Maintenance System built using Machine Learning techniques with an interactive Streamlit dashboard.

The system allows users to:

  • Upload datasets (CSV / Excel / TXT)
  • Train machine learning models
  • Analyze failure patterns
  • Generate reports (PDF with graphs)
  • Perform real-time predictions

🎯 Objective

βœ” Predict machine failure (classification)

βœ” Provide interactive analytics dashboard

βœ” Generate downloadable PDF reports

βœ” Enable real-time predictions via web UI


πŸ—οΈ System Architecture

Flowchart

πŸ” Architecture Highlights

  • Dataset upload and preprocessing
  • Machine learning model training (Logistic Regression)
  • Interactive dashboard (Streamlit)
  • Graph visualization (Plotly + Matplotlib)
  • PDF report generation (ReportLab)

🧠 Core Features

πŸ”Ή Dataset Upload & Processing

  • Supports CSV, Excel, and TXT files
  • Automatic data parsing and validation

πŸ”Ή Machine Learning Model

  • Logistic Regression model
  • Feature scaling using StandardScaler
  • Classification report (Precision, Recall, Accuracy)

πŸ”Ή Interactive Dashboard (Streamlit)

  • Dataset preview
  • KPI metrics (Rows, Columns, Failures)
  • Failure distribution visualization

πŸ”Ή Prediction System

  • User input via UI fields
  • Real-time prediction with confidence score
  • Risk indicator (Failure / Healthy)

πŸ”Ή Report Generation

  • Summary statistics
  • Failure analysis
  • Graph embedded in PDF
  • Downloadable report

βš™οΈ Technologies Used

Category Tools
Machine Learning scikit-learn
Data Processing pandas, numpy
Visualization plotly, matplotlib
Web Deployment streamlit
Reporting reportlab

πŸ“ Project Structure

predictive-maintenance-project/
β”‚
β”œβ”€β”€ app.py             # Streamlit application (ML + Dashboard + PDF)
β”œβ”€β”€ requirements.txt   # Dependencies
β”œβ”€β”€ README.md          # Documentation
└── .gitignore         # Ignored files

πŸ”„ Workflow

User β†’ Upload Dataset β†’ Preprocessing
                          ↓
                Model Training
                          ↓
                Performance Metrics
                          ↓
            Visualization + Dashboard
                          ↓
              Prediction + PDF Report

πŸš€ Getting Started

πŸ”Ή Clone Repository

git clone https://github.com/Chaitanya5068/predictive-maintenance-project

πŸ”Ή Navigate to Directory

cd predictive-maintenance-project

πŸ”Ή Create Virtual Environment

python -m venv venv

πŸ”Ή Activate Environment

Windows: .\venv\Scripts\activate  
Linux/macOS: source venv/bin/activate

πŸ”Ή Install Dependencies

pip install -r requirements.txt

πŸ”Ή Run Application

streamlit run app.py

🌐 Application URL

https://ifwqnnb9jyeqcwyfxftn4v.streamlit.app/

▢️ Usage

πŸ”Ή Step 1 β€” Upload Dataset

  • CSV / Excel / TXT supported

πŸ”Ή Step 2 β€” Train Model

  • Click Train Model
  • System performs preprocessing and training

πŸ”Ή Step 3 β€” Analyze Dashboard

  • View metrics and graphs
  • Failure distribution visualization

πŸ”Ή Step 4 β€” Prediction

  • Enter feature values
  • Get failure probability and status

πŸ”Ή Step 5 β€” Generate Report

  • View summary
  • Download PDF report

πŸ“Š Sample Outputs

  • Failure Distribution Graph
  • Classification Report
  • PDF Report with Graphs
  • Real-time Prediction Output

πŸ“œ License

This project is licensed under the MIT License β€” free to use, modify, and distribute with proper credit.


πŸ‘¨β€πŸ’» Author

Chaitanya Bhosale

πŸ”— GitHub: https://github.com/Chaitanya5068

πŸ”— LinkedIn: https://www.linkedin.com/in/chaitanya-bhosale


⭐ Support

If you found this project useful, consider giving it a ⭐ on GitHub!

About

A dynamic Predictive Maintenance system that auto-detects dataset type and uses ANN for failure classification and LSTM for RUL forecasting. Optimized with Adam and Early Stopping, the project includes a Streamlit web interface for real-time model training and machine health predictions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages