A newer version of the Streamlit SDK is available:
1.54.0
metadata
title: Engine Predictive Maintenance
emoji: π§
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.28.0
app_file: app.py
pinned: false
Engine Predictive Maintenance
Predict engine failures before they happen using machine learning.
π― Features
- Real-time Monitoring: Enter sensor readings manually for instant predictions
- Batch Processing: Upload CSV files for bulk predictions
- Risk Assessment: Get risk level (Low/Medium/High) with confidence scores
- Data Export: Download predictions with timestamps for auditing
π Model Performance
- Algorithm: Random Forest with SMOTE (handles class imbalance)
- Accuracy: 92%+
- F2-Score: 0.657 (optimized for recall - prioritizes catching failures)
- Training Data: 1000+ engine sensor readings
π Quick Start
Manual Prediction
- Enter 6 sensor readings (Lube Oil Pressure, Temperature, RPM, etc.)
- Get instant failure probability and risk level
- Review model confidence metrics
Batch Prediction
- Upload a CSV file with multiple engine readings
- Get predictions for all rows
- Download results with timestamps
π Sensor Inputs
- Lube Oil Pressure
- Lube Oil Temperature
- Coolant Temperature
- Engine RPM
- Fuel Pressure
- Coolant Pressure
βοΈ Technical Details
- Model Format: .joblib (scikit-learn native)
- Data Processing: Standardized features, engineered ratios
- Inference: <100ms per prediction
- Deployment: Hugging Face Spaces (auto-scaling)
π How It Works
- Input sensors are standardized using training data statistics
- Features are engineered (pressure ratios, temperature differences)
- Random Forest classifier produces failure probability
- F2-Score threshold (0.65) determines risk level classification
π Privacy & Security
- All data processing happens in-browser
- No data is stored or logged
- Model weights are public and auditable
- Predictions are real-time only
π€ Support
For issues or feedback, visit: https://github.com/your-org/predictive-engine-maintenance
Built with scikit-learn, Streamlit, and Hugging Face Spaces