Sowmith22 commited on
Commit
cb96223
Β·
verified Β·
1 Parent(s): 7271978

Delete business_problem.py

Browse files
Files changed (1) hide show
  1. business_problem.py +0 -67
business_problem.py DELETED
@@ -1,67 +0,0 @@
1
- import streamlit as st
2
-
3
- import streamlit as st
4
-
5
- st.header("πŸš— Brake System Fault Detection")
6
-
7
-
8
-
9
- feature_desc = {
10
- 'Brake_Pressure': "Pressure applied to the brake pedal.",
11
- 'Pad_Wear_Level': "Indicates the wear level of brake pads.",
12
- 'ABS_Status': "1 if Anti-lock Braking System is active, else 0.",
13
- 'Wheel_Speed_FL': "Speed of the front-left wheel.",
14
- 'Wheel_Speed_FR': "Speed of the front-right wheel.",
15
- 'Wheel_Speed_RL': "Speed of the rear-left wheel.",
16
- 'Wheel_Speed_RR': "Speed of the rear-right wheel.",
17
- 'Fluid_Temperature': "Temperature of the brake fluid.",
18
- 'Pedal_Position': "How far the brake pedal is pressed."
19
- }
20
-
21
- selected = st.selectbox("Select a feature to understand:", list(feature_desc.keys()))
22
- st.info(f"πŸ“˜ **{selected}**: {feature_desc[selected]}")
23
-
24
-
25
-
26
-
27
- # 🎯 Goal
28
- st.markdown("### 🎯 Goal")
29
- st.markdown("""
30
- Build a data-driven model that detects braking system faults using sensor data such as brake pressure, wheel speeds, fluid temperature, and pedal position.
31
- """)
32
-
33
- # πŸ’Ό Business Objective
34
- st.markdown("### πŸ“Œ Business Objective")
35
- st.markdown("""
36
- - Detect faults early to reduce vehicle failure risks.
37
- - Analyze sensor behavior during fault vs non-fault conditions.
38
- - Support preventive maintenance using historical data patterns.
39
- """)
40
- st.markdown("### πŸ“Š Data Understanding")
41
-
42
- st.markdown("""
43
- The dataset contains **real-time sensor readings** collected from a vehicle's braking system to detect faults. Below are the details of each feature:
44
-
45
- #### πŸ”’ Numerical Features:
46
-
47
- - **Brake_Pressure**: Pressure applied to the braking system (in bar or psi).
48
- - **Pad_Wear_Level**: Indicates how much the brake pads have worn down (in % or mm).
49
- - **Wheel_Speed_FL**: Speed of the **front-left** wheel (in km/h).
50
- - **Wheel_Speed_FR**: Speed of the **front-right** wheel (in km/h).
51
- - **Wheel_Speed_RL**: Speed of the **rear-left** wheel (in km/h).
52
- - **Wheel_Speed_RR**: Speed of the **rear-right** wheel (in km/h).
53
- - **Fluid_Temperature**: Temperature of the brake fluid (in Β°C).
54
- - **Pedal_Position**: Position of the brake pedal, indicating how far it is pressed (0–100%).
55
-
56
- #### πŸ”  Categorical Feature:
57
-
58
- - **ABS_Status**: Anti-lock Braking System status β€”
59
- - `1`: Active
60
- - `0`: Inactive
61
-
62
- #### 🎯 Target Variable:
63
-
64
- - **Fault**:
65
- - `0`: Normal (No issue detected)
66
- - `1`: Fault Detected (Brake system problem)
67
- """)