To start the app.py file, you should use the Streamlit command:
streamlit run app.py
This repository contains a machine learning project focused on predicting the Remaining Useful Life (RUL) of aircraft turbofan engines using the NASA C-MAPSS dataset. The project includes a comprehensive research phase where multiple deep learning architectures were evaluated to find the best-performing model for real-time health monitoring.
The C-MAPSS (Commercial Modular Aero-Propulsion System Simulation) dataset is a standard benchmark for predictive maintenance. It consists of four sub-datasets (FD001, FD002, FD003, FD004) reflecting different operating conditions and fault modes:
- Data: Multivariate time-series data from 21 sensors and 3 operational settings.
- Target: Remaining Useful Life (RUL) in flight cycles.
- Complexity: Ranges from a single operating condition/fault mode (FD001) to six operating conditions and two fault modes (FD004).
My approach involved an extensive research phase where I trained and compared several deep learning architectures to capture the temporal dependencies in sensor data:
- CNN (1D Convolutional Neural Networks): Used for feature extraction from the sensor sequences.
- LSTM (Long Short-Term Memory): To capture long-term dependencies in the time-series data.
- Stacked LSTM: Multiple LSTM layers for deeper temporal feature learning.
- Bi-LSTM (Bidirectional LSTM): To process sequences in both forward and backward directions.
- GRU (Gated Recurrent Units): A computationally efficient alternative to LSTM.
- CNN + LSTM Hybrid: A combination model using CNN for local feature extraction followed by LSTM for temporal modeling.
The models were evaluated using the following metrics to ensure high precision in safety-critical aviation environments:
- RMSE (Root Mean Squared Error): To measure the average prediction error magnitude.
- MAE (Mean Absolute Error): To understand the average absolute deviation from true RUL.
- R² Score (Coefficient of Determination): To assess how well the models explain the variance in the engine's degradation.
To run the AeroHealth Manager dashboard on your local machine, follow these steps:
git clone https://github.com/your-username/prognos-ai-cmapss.git
cd to the folder
Ensure you have tensorflow, streamlit, and pandas installed:
pip install streamlit pandas numpy tensorflow joblib plotly scikit-learn
Launch the Streamlit application to visualize individual engine inspections and fleet health heatmaps:
streamlit run app.py
research.ipynb: Initial data exploration and preprocessing.FD001(1).ipynbtoFD004model.ipynb: Comprehensive training scripts for the various model architectures.app.py: Streamlit-based dashboard for real-time RUL prediction and fleet management.*.h5: Saved trained models for different fleets.scaler_*.pkl: Pre-trained scalers for data normalization.