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!
