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

โšก