anujjj321's picture
Upload README.md with huggingface_hub
3b9da2d verified
|
Raw
History Blame Contribute Delete
4.77 kB
metadata
title: CMAPSS Time Series Evaluation
emoji: πŸš€
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false

✈️ NASA Turbofan Engine Remaining Useful Life Prediction

πŸ”§ Predictive Maintenance | πŸ“Š Deep Learning (LSTM) | πŸ€– FastAPI Dashboard


πŸ“Œ Project Overview

Background

Aircraft engines produce large volumes of sensor data during operation. These measurements contain valuable information about engine health and degradation patterns over time. As engines operate, they accumulate wear and tear, leading to gradual performance degradation.

Problem Statement

This project focuses on predicting the Remaining Useful Life (RUL) of turbofan engines using the NASA CMAPSS dataset. The goal is to estimate how many operational cycles remain before an engine reaches failure.

Why This Matters

Accurate prediction of RUL enables:

  • βœ… Predictive Maintenance - Schedule maintenance before failures occur
  • βœ… Cost Reduction - Optimize maintenance intervals and reduce unplanned downtime
  • βœ… Safety Improvement - Prevent in-flight failures through early warning systems
  • βœ… Operational Efficiency - Better planning for engine replacements and resource allocation

πŸš€ Live Production Deployment

This project has been fully containerized and deployed as an interactive predictive maintenance dashboard.


πŸ“‚ Dataset

About the Dataset

The dataset used in this project is the NASA CMAPSS Turbofan Engine Degradation Simulation Dataset. This is a benchmark dataset widely used in prognostics and health management research.

Each engine unit begins with different levels of wear and gradually degrades over time. Sensor readings and operational settings are recorded at every operational cycle until the engine fails.

Dataset Characteristics

Feature Description
πŸ›  Engine Units 100+ engines in training set
⏱ Data Type Cycle-based time series
βš™ Settings 3 operational conditions
πŸ“‘ Sensors 21 comprehensive measurements
πŸ“‰ Degradation Progressive until failure
πŸ“Š Lifespans Variable across engines

πŸ”¬ Project Architecture & Workflow

1. Data Processing

  • Extracted and normalized raw sensor telemetry.
  • Engineered sequential rolling windows to capture long-term temporal degradation.
  • Handled massive datasets using standard scaling and min-max normalization.

2. Deep Learning (LSTM)

  • Transitioned from baseline Random Forest models to a state-of-the-art Long Short-Term Memory (LSTM) neural network.
  • Why LSTM? LSTMs natively retain memory of previous operational cycles, making them the industry standard for time-series degradation tracking.

3. Production Backend (FastAPI)

  • Developed a high-performance REST API using FastAPI.
  • The API dynamically serves real-time inference data and operational fleet status to the front end.

4. Interactive Dashboard

  • Created a beautiful, responsive, glassmorphism-inspired web UI to act as the primary operational dashboard.
  • Features real-time animated alerts and clear visual indicators for engine health status.

πŸ—‚ Repository Structure

Time-Series-Implementation-NASA/
β”‚
β”œβ”€β”€ CMAPSS_TimeSeries_Evaluation.py   # Core analytics and pipeline
β”œβ”€β”€ cmapss_lstm.py                    # LSTM model definition and training script
β”œβ”€β”€ app.py                            # FastAPI production backend
β”œβ”€β”€ index.html                        # Front-end predictive maintenance dashboard
β”œβ”€β”€ lstm_model.pth                    # Saved PyTorch weights
β”œβ”€β”€ scaler.pkl                        # Data normalizer
β”œβ”€β”€ requirements.txt                  # Deployment dependencies
β”œβ”€β”€ Dockerfile                        # Containerization setup
└── README.md                         # This file

πŸ›  Technologies Used

  • 🐍 Python - Core language
  • πŸ”₯ PyTorch - Deep Learning framework (LSTM)
  • ⚑ FastAPI - High-speed backend API
  • πŸ’» HTML/CSS/JS - Frontend dashboard (Vanilla, Glassmorphism design)
  • 🐳 Docker - Containerization
  • πŸ€— Hugging Face Spaces - Cloud deployment

πŸ‘¨β€πŸ’» Authors

Arjun Vinod Patil & Anuj Dalvi

Machine Learning and Data Science Enthusiasts


πŸ“ License

This project is for educational and research purposes.


πŸ™ Acknowledgments

Thanks to NASA for providing the CMAPSS dataset and to the open-source community for the tools used in this project.