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
โ Predict machine failure (classification)
โ Provide interactive analytics dashboard
โ Generate downloadable PDF reports
โ Enable real-time predictions via web UI
- Dataset upload and preprocessing
- Machine learning model training (Logistic Regression)
- Interactive dashboard (Streamlit)
- Graph visualization (Plotly + Matplotlib)
- PDF report generation (ReportLab)
- Supports CSV, Excel, and TXT files
- Automatic data parsing and validation
- Logistic Regression model
- Feature scaling using StandardScaler
- Classification report (Precision, Recall, Accuracy)
- Dataset preview
- KPI metrics (Rows, Columns, Failures)
- Failure distribution visualization
- User input via UI fields
- Real-time prediction with confidence score
- Risk indicator (Failure / Healthy)
- Summary statistics
- Failure analysis
- Graph embedded in PDF
- Downloadable report
| Category | Tools |
|---|---|
| Machine Learning | scikit-learn |
| Data Processing | pandas, numpy |
| Visualization | plotly, matplotlib |
| Web Deployment | streamlit |
| Reporting | reportlab |
predictive-maintenance-project/
โ
โโโ app.py # Streamlit application (ML + Dashboard + PDF)
โโโ requirements.txt # Dependencies
โโโ README.md # Documentation
โโโ .gitignore # Ignored filesUser โ Upload Dataset โ Preprocessing
โ
Model Training
โ
Performance Metrics
โ
Visualization + Dashboard
โ
Prediction + PDF Report๐น 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/๐น 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
- Failure Distribution Graph
- Classification Report
- PDF Report with Graphs
- Real-time Prediction Output
This project is licensed under the MIT License โ free to use, modify, and distribute with proper credit.
Chaitanya Bhosale
๐ GitHub: https://github.com/Chaitanya5068
๐ LinkedIn: https://www.linkedin.com/in/chaitanya-bhosale
If you found this project useful, consider giving it a โญ on GitHub!
