File size: 2,460 Bytes
2fca6ad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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)

""")