A production-oriented Machine Learning system designed to proactively identify unsafe industrial conditions and reduce workplace accidents through intelligent risk prediction.
Industrial workplaces face significant safety challenges due to:
- Lack of real-time monitoring
- Human error and unsafe practices
- Delayed identification of hazardous conditions
Traditional systems are reactive, responding only after incidents occur.
To build a proactive AI-driven safety system that predicts potential risks and enables early intervention.
Factory Guard AI is an end-to-end Machine Learning application that:
- Ingests industrial condition parameters
- Applies a trained LightGBM model
- Predicts risk levels (Safe / Unsafe)
- Displays results through an interactive Streamlit dashboard
- Data Collection
- Data Preprocessing
- Feature Engineering
- Model Training (LightGBM)
- Model Evaluation
- Deployment via Streamlit UI
[Input Data] โ [Preprocessing] โ [LightGBM Model] โ [Prediction] โ [Streamlit UI]
| Layer | Technology |
|---|---|
| Language | Python |
| ML Framework | LightGBM |
| Data Processing | Pandas, NumPy |
| Visualization | Matplotlib, Seaborn |
| Web Interface | Streamlit |
| Model Persistence | Pickle |
| Version Control | Git & GitHub |
A gradient boosting framework optimized for speed and performance.
- Handles large-scale structured data efficiently
- Faster training compared to XGBoost
- High accuracy with lower memory usage
| Metric | Score |
|---|---|
| Accuracy | ~98% |
| F1 Score | ~0.87 |
| ROC-AUC | ~0.98 |
- Data Cleaning
- Feature Scaling
- Train-Test Split
- Model Training
- Hyperparameter Tuning
- Evaluation
- Python 3.8+
- pip
git clone https://github.com/your-username/FACTORY-GUARD-AI.git
cd FACTORY-GUARD-AI
pip install -r requirements.txtstreamlit run app.pyOpen in browser:
http://localhost:8501
FACTORY-GUARD-AI/
โ
โโโ app.py # Streamlit application
โโโ train_model.py # Model training script
โโโ requirements.txt # Dependencies
โโโ README.md # Documentation
โโโ screenshots/ # Project images
โโโ model.pkl # Trained ML model
- Achieves high prediction accuracy (~98%)
- Enables early detection of unsafe conditions
- Reduces dependency on manual monitoring
- Can significantly improve industrial safety compliance
- ๐ฅ Integration with Computer Vision (CCTV monitoring)
- ๐ก Real-time data streaming (IoT sensors)
- ๐ฒ Alert system (SMS / Email / Dashboard notifications)
- โ๏ธ Cloud deployment (AWS / Azure / GCP)
- ๐ค Deep Learning models for complex pattern detection
- Manufacturing Plants
- Construction Sites
- Chemical Industries
- Smart Factories (Industry 4.0)
Mangasamudram Lokeswari
Data Science | Machine Learning | Generative AI Enthusiast
GitHub: https://github.com/Lokeswari3173
If you find this project useful:
- โญ Star this repository
- ๐ด Fork it
- ๐ข Share with others
This project is open-source and available under the MIT License.
out put screenshorts