This project predicts equipment failures in the oil & gas industry using machine learning models (Logistic Regression, Random Forest). It analyzes sensor data (Temperature, Pressure, Vibration, Humidity, Flow Rate) and provides an interactive dashboard for monitoring failure risks.
- Preprocessing & Cleaning: Handles missing values and normalizes sensor data.
- Machine Learning Models: Predict failures using Logistic Regression & Random Forest.
- Failure Risk Visualizations: Heatmaps, sensor trend graphs, and SHAP feature importance.
- Interactive Dashboard: Filter failure trends by equipment type and sensor readings.
Predictive_Maintenance_OilGas/
│-- README.md # Project Overview & Instructions
│-- data_preprocessing.py # Cleans & processes sensor data
│-- ml_model.py # Trains ML models & evaluates performance
│-- visualization.py # Generates failure risk graphs
│-- dashboard.py # Interactive Streamlit dashboard
│-- predictive_maintenance_data.csv # Sample sensor dataset
│-- requirements.txt # Dependencies for setup
Run the following command:
pip install -r requirements.txt
python data_preprocessing.py
This cleans and prepares the dataset.
python ml_model.py
This trains Logistic Regression & Random Forest models to predict failures.
python visualization.py
streamlit run dashboard.py
The dashboard provides real-time failure analysis and risk visualization.
- Python (Pandas, NumPy, Matplotlib, Seaborn, Plotly, Streamlit)
- Machine Learning (Logistic Regression, Random Forest, SHAP)
- Data Processing (Feature Engineering, Normalization, Outlier Detection)
- Database (SQLite for storing structured sensor data)
Charles Eleri
- Enhance model performance using LSTM for time-series predictions.
- Integrate real-time data ingestion from IoT sensors.
- Deploy the dashboard to AWS/GCP/Azure for global monitoring.
🔹 GitHub Repo: github.com/charleseleri