Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -190,7 +190,7 @@ def predict_behavior():
|
|
| 190 |
harsh_braking_events = (df['JerkX'] < -3).sum() # Adjusted threshold from -5 to -3
|
| 191 |
|
| 192 |
# Identify Harsh Cornering (Sharp change in GyroZ)
|
| 193 |
-
harsh_cornering_events = (df['GyroZ'].diff().abs() > 1.
|
| 194 |
|
| 195 |
# Create sequences for model input
|
| 196 |
sequences = []
|
|
|
|
| 190 |
harsh_braking_events = (df['JerkX'] < -3).sum() # Adjusted threshold from -5 to -3
|
| 191 |
|
| 192 |
# Identify Harsh Cornering (Sharp change in GyroZ)
|
| 193 |
+
harsh_cornering_events = (df['GyroZ'].diff().abs() > 1.8).sum() # Adjusted threshold from 30 to 1.5
|
| 194 |
|
| 195 |
# Create sequences for model input
|
| 196 |
sequences = []
|