BrakeSystemFaultDetection / business_problem.py
Sowmith22's picture
Upload 2 files
2fca6ad verified
raw
history blame
2.46 kB
import streamlit as st
import streamlit as st
st.header("πŸš— Brake System Fault Detection")
feature_desc = {
'Brake_Pressure': "Pressure applied to the brake pedal.",
'Pad_Wear_Level': "Indicates the wear level of brake pads.",
'ABS_Status': "1 if Anti-lock Braking System is active, else 0.",
'Wheel_Speed_FL': "Speed of the front-left wheel.",
'Wheel_Speed_FR': "Speed of the front-right wheel.",
'Wheel_Speed_RL': "Speed of the rear-left wheel.",
'Wheel_Speed_RR': "Speed of the rear-right wheel.",
'Fluid_Temperature': "Temperature of the brake fluid.",
'Pedal_Position': "How far the brake pedal is pressed."
}
selected = st.selectbox("Select a feature to understand:", list(feature_desc.keys()))
st.info(f"πŸ“˜ **{selected}**: {feature_desc[selected]}")
# 🎯 Goal
st.markdown("### 🎯 Goal")
st.markdown("""
Build a data-driven model that detects braking system faults using sensor data such as brake pressure, wheel speeds, fluid temperature, and pedal position.
""")
# πŸ’Ό Business Objective
st.markdown("### πŸ“Œ Business Objective")
st.markdown("""
- Detect faults early to reduce vehicle failure risks.
- Analyze sensor behavior during fault vs non-fault conditions.
- Support preventive maintenance using historical data patterns.
""")
st.markdown("### πŸ“Š Data Understanding")
st.markdown("""
The dataset contains **real-time sensor readings** collected from a vehicle's braking system to detect faults. Below are the details of each feature:
#### πŸ”’ Numerical Features:
- **Brake_Pressure**: Pressure applied to the braking system (in bar or psi).
- **Pad_Wear_Level**: Indicates how much the brake pads have worn down (in % or mm).
- **Wheel_Speed_FL**: Speed of the **front-left** wheel (in km/h).
- **Wheel_Speed_FR**: Speed of the **front-right** wheel (in km/h).
- **Wheel_Speed_RL**: Speed of the **rear-left** wheel (in km/h).
- **Wheel_Speed_RR**: Speed of the **rear-right** wheel (in km/h).
- **Fluid_Temperature**: Temperature of the brake fluid (in Β°C).
- **Pedal_Position**: Position of the brake pedal, indicating how far it is pressed (0–100%).
#### πŸ”  Categorical Feature:
- **ABS_Status**: Anti-lock Braking System status β€”
- `1`: Active
- `0`: Inactive
#### 🎯 Target Variable:
- **Fault**:
- `0`: Normal (No issue detected)
- `1`: Fault Detected (Brake system problem)
""")