Dataset Kaggle LINK
This project predicts the efficiency of smart manufacturing machines using machine learning. It includes a Flask-based web application for user interaction and a CI/CD pipeline for deployment.
- Machine Learning Model: Predicts machine efficiency based on various input features.
- Flask Web App: User-friendly interface for predictions.
- CI/CD Pipeline: Automated build, test, and deployment using Jenkins, Docker, and ArgoCD.
- Kubernetes Orchestration: Manages containerized applications.
Below is the workflow for the project:
-
Clone the Repository:
git clone https://github.com/data-guru0/GITOPS-PROJECT-9.git cd GITOPS-PROJECT-9
-
Set Up the Environment:
- Install dependencies using
setup.py
:python setup.py install
- Install dependencies using
-
Run the Flask App:
python application.py
Access the app at
http://localhost:5000
. -
Build and Deploy with Docker:
- Build the Docker image:
docker build -t smart-machine-efficiency .
- Run the container:
docker run -p 5000:5000 smart-machine-efficiency
- Build the Docker image:
-
CI/CD Pipeline:
- Use the provided
Jenkinsfile
for automated builds and deployments.
- Use the provided
The model uses the following features for predictions:
- Operation Mode
- Temperature (°C)
- Vibration (Hz)
- Power Consumption (kW)
- Network Latency (ms)
- Packet Loss (%)
- Quality Control Defect Rate (%)
- Production Speed (units/hr)
- Predictive Maintenance Score
- Error Rate (%)
- Date and Time (Year, Month, Day, Hour)
- Kubernetes: Use the provided manifests for deploying the app.
- ArgoCD: Sync the app with ArgoCD for continuous deployment.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request.