SlideShare a Scribd company logo
1 of 15
Download to read offline
Improving the Safety of
Ride Hailing Services
- Using IOT Analytics
Project
Overview
The Industry
• Ride-hailing Taxi Service Market to Garner $126.52 Billion by
2025 at 16.5% CAGR.
• Primary reason for such a growth rate being rising trend of on-
demand transportation services, high-end employment
opportunities and lower rate of car ownership among
millennials
The Challenge
• Even since the emergence of these Ride hailing companies,
there has been an increase in 3 to 5 % of accidents.
• Many Research concludes that fleet or company drivers have an
increased crash risk relative to that of privately registered
vehicle drivers.
The Objective
• Analyze and capture driving behaviors that are hazardous
• Develop a predictive model for predicting Unsafe Trips
• Improve the over all Safety of the ride hailing services
IOT & Analytics – a
Powerful Combination
• Internet of Things (IOT) –
• By 2025, there will be 116 million IOT enabled cars in the
U.S. And each connected car will upload 25 GB of data per
hour (~ 219 TB / Yr.)
• IOT – a costly piece of technology, is it?
• Well, no it isn’t anymore
• All average smartphones today are equipped with basic
embedded low-cost telemetry sensors such as
accelerometers, gyroscopes, GPS etc.
• Role of IOT Analytics
• Large sets of driving data from GPS and telemetry sensors
allows for exciting new research possibilities using advance
Analytics and Machine Learning techniques
• Insights from IOT Analytics help address key concerns
facing industries
IOT Sensors – Accelerometer
& Gyroscope
• What is an Accelerometer?
• Accelerometer sensor reports the acceleration of the device along the 3 sensor
axes (X, Y, Z)
• The measured acceleration includes both the physical acceleration (change of
velocity) and the gravity
• All values are in SI units (m/s^2)
• What is a Gyroscope?
• A gyroscope sensor reports the rate of rotation of the device around the 3 sensor
axes (X, Y, Z)
• Rotations can be of 3 different types
• Pitch – Pitch is for Y axis rotational rate in (rad/s)
• Roll – Roll is for X axis rotational rate in (rad/s)
• Yaw – Yaw is for Z axis rotational rate in (rad/s)
Solution Architecture Diagram
Exploratory Data
Analysis
Acceleration X, Acceleration Z,
Gyro Y show a significant
difference when the trip is
classified as Unsafe. These are
initial pointers that these features
may play significant role in
determining the trip type
EDA (Contd.)
• Speed
• Lower speed bins have higher
percentage of unsafe rides.
Reasons could be
• Driving below speed limits
• Talking or Texting while driving
• Duration
• Longer durations Trips have
higher percentage of unsafe rides.
Reason could be
• Drowsy driving due to longer driving
hours
• Customers tendency to rate longer
drivers as uncomfortable
• Clearly both Speed and Trip
Duration have a significant role
in classifying a Trip Quality
Telemetry Data Processing Methods
• Removing Noise component from Raw Accelerometer and Gyroscope Data using Low Pass Filter
alpha = 0.8
Filter BEGIN
Low_X = alpha × Prev_Low_X + (1 − alpha) × Curr_X
Low_Y = alpha × Prev_Low_Y + (1 − alpha) × Curr_Y
Low_Z = alpha × Prev_Low_Z + (1 − alpha) × Curr_Z
Filter END
• Removing Gravity component from the Accelerometer data
𝑎ℎ𝑜𝑟 = 𝐴𝑐𝑐𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 − 𝐴𝑐𝑐𝑔
Where 𝐴𝑐𝑐𝑔 is the average of acceleration over a window size of 100 seconds
• Calculate Magnitude or Total Acceleration / Total Angular Velocity
𝑎𝑐𝑐𝑅 = 𝑎𝑥2 + 𝑎𝑦2
+ 𝑎𝑧2
𝑎𝑐𝑐𝐻 = 𝑎𝑥ℎ𝑜𝑟
2
+ 𝑎𝑦ℎ𝑜𝑟
2
+ 𝑎𝑧ℎ𝑜𝑟
2
𝑣𝑒𝑙𝑅 = 𝑣𝑥2 + 𝑣𝑦2
+ 𝑣𝑧2
𝑣𝑒𝑙𝐹 = 𝑣𝑥𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑
2
+ 𝑣𝑦𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑
2
+ 𝑣𝑧𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑
2
Where,
ax, ay, az are raw accelerations along x, y, z axis respectively
𝑎𝑥ℎ𝑜𝑟 , 𝑎𝑦ℎ𝑜𝑟 , 𝑎𝑧ℎ𝑜𝑟 are filtered accelerations with gravity treatment done
vx, vy, vz are raw angular velocity along x, y, z axis respectively
𝑣𝑥𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 , 𝑣𝑦𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 . 𝑣𝑧𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 are filtered angular velocity
Data Processing (2)
Noise
Treatment
• (2A) Treating Raw data through LPF
Gravity
Treatment
• (2B) Remove Gravity from
Accelerometer Raw data
Calculate
Magnitude
• (2C) Calculate Magnitude of
Acceleration and of Angular Velocity
Raw Vs. Filtered Telemetry Data
Significant Driving Events and
Patterns
• STEP 1 – Aggressive Turn Events
• Turn events is based on filtered gyroscope energy (𝑣𝑒𝑙𝐹)
• velF >= 0.025
• STEP 2 – Aggressive Acceleration / Breaking Events
• Acceleration (braking/accelerating) events identification,
from vehicle acceleration component information (accH)
• accH >= 0.002
• STEP 3 – Zig-Zag Events
• Zig-zag events are identified as two or more change lanes
from the significant measurements of the accelerometer
(accH) with very less angular Velocity (velR)
• velF <= 0.0025 & accH >= 0.0013
• STEP 4 – Normal Events
• Any instance that are not classified as one of the above 3 are
classified as normal events
Thresholds For Event Identification
Thresholds are identified using a combination of mean, Outliers and trial
and error method
Predictive Modeling & Validation
Model Precision Recall F1-Score Accuracy AUC
GNB 0.46 0.28 0.35 0.7483 0.656
CART 0.34 0.36 0.35 0.6781 0.569
LOGIT 0.70 0.15 0.24 0.7810 0.683
RF 0.48 0.20 0.29 0.7576 0.627
KNN 0.42 0.25 0.31 0.7387 0.618
ANN 0.75 0.14 0.23 0.7828 0.691
XGB 0.75 0.15 0.25 0.7844 0.691
Conclusion &
Recommendations
Predicted Unsafe Rides
• Alerted on real time basis to respective drivers giving them
opportunity to correct it
• Alert the drivers on driving behaviors that are Unsafe
Performance Evaluation
• Drivers can be evaluated based on their driving behaviors thus
encouraging better driving practices among drivers
Organizing Mandatory Trainings
• With specific importance on Feature’s relative importance from
Models
• Going slower that designated speed limits seems to have caused
more Trips unsafe
• Higher Trip Duration tend to be more unsafe. Encourage drivers
to take short / traffic less routes
• Advised to avoid Zig-Zag movements as they cause more trips
unsafe
Appendix
Appendix (Contd.)
Appendix (Contd.)

More Related Content

What's hot

Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...
Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...
Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...IMGS
 
Imaging automotive 2015 addfor v002
Imaging automotive 2015   addfor v002Imaging automotive 2015   addfor v002
Imaging automotive 2015 addfor v002Enrico Busto
 
2006 mine integration plan
2006 mine integration plan2006 mine integration plan
2006 mine integration planElliot Duff
 
Automotive Virtual Sensors - Motorsport Applications
Automotive Virtual Sensors - Motorsport ApplicationsAutomotive Virtual Sensors - Motorsport Applications
Automotive Virtual Sensors - Motorsport ApplicationsEnrico Busto
 
Traffic Detection Systems (Transportation Engineering)
Traffic Detection Systems (Transportation Engineering)Traffic Detection Systems (Transportation Engineering)
Traffic Detection Systems (Transportation Engineering)Hossam Shafiq I
 
A force directed approach for offline gps trajectory map
A force directed approach for offline gps trajectory mapA force directed approach for offline gps trajectory map
A force directed approach for offline gps trajectory mapeXascale Infolab
 
Vehicle counting without background modeling
Vehicle counting without background modelingVehicle counting without background modeling
Vehicle counting without background modelingLihguong Jang
 

What's hot (12)

Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...
Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...
Measuring Change with Radar Imagery_Richard Goodman - Intergraph Geospatial W...
 
Imaging automotive 2015 addfor v002
Imaging automotive 2015   addfor v002Imaging automotive 2015   addfor v002
Imaging automotive 2015 addfor v002
 
Project 2019 05
Project 2019 05Project 2019 05
Project 2019 05
 
200911 mbt-ai4_a_dintm__presentation
200911  mbt-ai4_a_dintm__presentation200911  mbt-ai4_a_dintm__presentation
200911 mbt-ai4_a_dintm__presentation
 
Presentation
PresentationPresentation
Presentation
 
2006 mine integration plan
2006 mine integration plan2006 mine integration plan
2006 mine integration plan
 
Automotive Virtual Sensors - Motorsport Applications
Automotive Virtual Sensors - Motorsport ApplicationsAutomotive Virtual Sensors - Motorsport Applications
Automotive Virtual Sensors - Motorsport Applications
 
Traffic Detection Systems (Transportation Engineering)
Traffic Detection Systems (Transportation Engineering)Traffic Detection Systems (Transportation Engineering)
Traffic Detection Systems (Transportation Engineering)
 
Vehicle detection
Vehicle detectionVehicle detection
Vehicle detection
 
P1131210137
P1131210137P1131210137
P1131210137
 
A force directed approach for offline gps trajectory map
A force directed approach for offline gps trajectory mapA force directed approach for offline gps trajectory map
A force directed approach for offline gps trajectory map
 
Vehicle counting without background modeling
Vehicle counting without background modelingVehicle counting without background modeling
Vehicle counting without background modeling
 

Similar to Improving the safety of ride hailing services using iot analytics

Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...Robo India
 
Semi Autonomous Hand Launched Rotary Wing Unmanned Air Vehicles
Semi Autonomous Hand Launched Rotary Wing Unmanned Air VehiclesSemi Autonomous Hand Launched Rotary Wing Unmanned Air Vehicles
Semi Autonomous Hand Launched Rotary Wing Unmanned Air Vehiclesahmad bassiouny
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
Control Charts in Lab and Trend Analysis
Control Charts in Lab and Trend AnalysisControl Charts in Lab and Trend Analysis
Control Charts in Lab and Trend Analysissigmatest2011
 
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman FilterMultiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filtersipij
 
Example-Dependent Cost-Sensitive Credit Card Fraud Detection
Example-Dependent Cost-Sensitive Credit Card Fraud DetectionExample-Dependent Cost-Sensitive Credit Card Fraud Detection
Example-Dependent Cost-Sensitive Credit Card Fraud DetectionAlejandro Correa Bahnsen, PhD
 
Embedded Programming for Quadcopters
Embedded Programming for QuadcoptersEmbedded Programming for Quadcopters
Embedded Programming for QuadcoptersRyan Boland
 
The Data Acquisition and Processing Based on MEMS Accelerometer
The Data Acquisition and Processing Based on MEMS AccelerometerThe Data Acquisition and Processing Based on MEMS Accelerometer
The Data Acquisition and Processing Based on MEMS AccelerometerIJRES Journal
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentationfarhan_naseer_1
 
KnightGearCDR.pptx
KnightGearCDR.pptx KnightGearCDR.pptx
KnightGearCDR.pptx GobhinathS
 
Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...
Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...
Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...IOSR Journals
 
AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018
AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018
AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018Journal For Research
 
Position control of a single arm manipulator using ga pid controller
Position control of a single arm manipulator using ga pid controllerPosition control of a single arm manipulator using ga pid controller
Position control of a single arm manipulator using ga pid controllerIAEME Publication
 
2014 10-15-workshop-machinenauwkeurigheid-etalon
2014 10-15-workshop-machinenauwkeurigheid-etalon2014 10-15-workshop-machinenauwkeurigheid-etalon
2014 10-15-workshop-machinenauwkeurigheid-etalonSirris
 
Event Data Recorder in Automobile
Event Data Recorder in AutomobileEvent Data Recorder in Automobile
Event Data Recorder in AutomobileIRJET Journal
 
The Application of Gyro in Vehicle Angle Measurement
The Application of Gyro in Vehicle Angle MeasurementThe Application of Gyro in Vehicle Angle Measurement
The Application of Gyro in Vehicle Angle MeasurementIJRES Journal
 

Similar to Improving the safety of ride hailing services using iot analytics (20)

IMU General Introduction
IMU General IntroductionIMU General Introduction
IMU General Introduction
 
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
Evaluation of dynamics | Gyroscope, Accelerometer, Inertia Measuring Unit and...
 
Semi Autonomous Hand Launched Rotary Wing Unmanned Air Vehicles
Semi Autonomous Hand Launched Rotary Wing Unmanned Air VehiclesSemi Autonomous Hand Launched Rotary Wing Unmanned Air Vehicles
Semi Autonomous Hand Launched Rotary Wing Unmanned Air Vehicles
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Control Charts in Lab and Trend Analysis
Control Charts in Lab and Trend AnalysisControl Charts in Lab and Trend Analysis
Control Charts in Lab and Trend Analysis
 
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman FilterMultiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
 
Example-Dependent Cost-Sensitive Credit Card Fraud Detection
Example-Dependent Cost-Sensitive Credit Card Fraud DetectionExample-Dependent Cost-Sensitive Credit Card Fraud Detection
Example-Dependent Cost-Sensitive Credit Card Fraud Detection
 
Embedded Programming for Quadcopters
Embedded Programming for QuadcoptersEmbedded Programming for Quadcopters
Embedded Programming for Quadcopters
 
Accelerometer 1
Accelerometer 1Accelerometer 1
Accelerometer 1
 
The Data Acquisition and Processing Based on MEMS Accelerometer
The Data Acquisition and Processing Based on MEMS AccelerometerThe Data Acquisition and Processing Based on MEMS Accelerometer
The Data Acquisition and Processing Based on MEMS Accelerometer
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
 
KnightGearCDR.pptx
KnightGearCDR.pptx KnightGearCDR.pptx
KnightGearCDR.pptx
 
WRAIR
WRAIRWRAIR
WRAIR
 
Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...
Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...
Hardware Implementation of Low Cost Inertial Navigation System Using Mems Ine...
 
AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018
AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018
AUTOMATED HEADLIGHT CONTROL USING LABVIEW | J4RV3I12018
 
Position control of a single arm manipulator using ga pid controller
Position control of a single arm manipulator using ga pid controllerPosition control of a single arm manipulator using ga pid controller
Position control of a single arm manipulator using ga pid controller
 
2014 10-15-workshop-machinenauwkeurigheid-etalon
2014 10-15-workshop-machinenauwkeurigheid-etalon2014 10-15-workshop-machinenauwkeurigheid-etalon
2014 10-15-workshop-machinenauwkeurigheid-etalon
 
Event Data Recorder in Automobile
Event Data Recorder in AutomobileEvent Data Recorder in Automobile
Event Data Recorder in Automobile
 
The Application of Gyro in Vehicle Angle Measurement
The Application of Gyro in Vehicle Angle MeasurementThe Application of Gyro in Vehicle Angle Measurement
The Application of Gyro in Vehicle Angle Measurement
 
QRS signal ECG detection
QRS signal ECG detectionQRS signal ECG detection
QRS signal ECG detection
 

Recently uploaded

Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 

Recently uploaded (20)

Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 

Improving the safety of ride hailing services using iot analytics

  • 1. Improving the Safety of Ride Hailing Services - Using IOT Analytics
  • 2. Project Overview The Industry • Ride-hailing Taxi Service Market to Garner $126.52 Billion by 2025 at 16.5% CAGR. • Primary reason for such a growth rate being rising trend of on- demand transportation services, high-end employment opportunities and lower rate of car ownership among millennials The Challenge • Even since the emergence of these Ride hailing companies, there has been an increase in 3 to 5 % of accidents. • Many Research concludes that fleet or company drivers have an increased crash risk relative to that of privately registered vehicle drivers. The Objective • Analyze and capture driving behaviors that are hazardous • Develop a predictive model for predicting Unsafe Trips • Improve the over all Safety of the ride hailing services
  • 3. IOT & Analytics – a Powerful Combination • Internet of Things (IOT) – • By 2025, there will be 116 million IOT enabled cars in the U.S. And each connected car will upload 25 GB of data per hour (~ 219 TB / Yr.) • IOT – a costly piece of technology, is it? • Well, no it isn’t anymore • All average smartphones today are equipped with basic embedded low-cost telemetry sensors such as accelerometers, gyroscopes, GPS etc. • Role of IOT Analytics • Large sets of driving data from GPS and telemetry sensors allows for exciting new research possibilities using advance Analytics and Machine Learning techniques • Insights from IOT Analytics help address key concerns facing industries
  • 4. IOT Sensors – Accelerometer & Gyroscope • What is an Accelerometer? • Accelerometer sensor reports the acceleration of the device along the 3 sensor axes (X, Y, Z) • The measured acceleration includes both the physical acceleration (change of velocity) and the gravity • All values are in SI units (m/s^2) • What is a Gyroscope? • A gyroscope sensor reports the rate of rotation of the device around the 3 sensor axes (X, Y, Z) • Rotations can be of 3 different types • Pitch – Pitch is for Y axis rotational rate in (rad/s) • Roll – Roll is for X axis rotational rate in (rad/s) • Yaw – Yaw is for Z axis rotational rate in (rad/s)
  • 6. Exploratory Data Analysis Acceleration X, Acceleration Z, Gyro Y show a significant difference when the trip is classified as Unsafe. These are initial pointers that these features may play significant role in determining the trip type
  • 7. EDA (Contd.) • Speed • Lower speed bins have higher percentage of unsafe rides. Reasons could be • Driving below speed limits • Talking or Texting while driving • Duration • Longer durations Trips have higher percentage of unsafe rides. Reason could be • Drowsy driving due to longer driving hours • Customers tendency to rate longer drivers as uncomfortable • Clearly both Speed and Trip Duration have a significant role in classifying a Trip Quality
  • 8. Telemetry Data Processing Methods • Removing Noise component from Raw Accelerometer and Gyroscope Data using Low Pass Filter alpha = 0.8 Filter BEGIN Low_X = alpha × Prev_Low_X + (1 − alpha) × Curr_X Low_Y = alpha × Prev_Low_Y + (1 − alpha) × Curr_Y Low_Z = alpha × Prev_Low_Z + (1 − alpha) × Curr_Z Filter END • Removing Gravity component from the Accelerometer data 𝑎ℎ𝑜𝑟 = 𝐴𝑐𝑐𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 − 𝐴𝑐𝑐𝑔 Where 𝐴𝑐𝑐𝑔 is the average of acceleration over a window size of 100 seconds • Calculate Magnitude or Total Acceleration / Total Angular Velocity 𝑎𝑐𝑐𝑅 = 𝑎𝑥2 + 𝑎𝑦2 + 𝑎𝑧2 𝑎𝑐𝑐𝐻 = 𝑎𝑥ℎ𝑜𝑟 2 + 𝑎𝑦ℎ𝑜𝑟 2 + 𝑎𝑧ℎ𝑜𝑟 2 𝑣𝑒𝑙𝑅 = 𝑣𝑥2 + 𝑣𝑦2 + 𝑣𝑧2 𝑣𝑒𝑙𝐹 = 𝑣𝑥𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 2 + 𝑣𝑦𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 2 + 𝑣𝑧𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 2 Where, ax, ay, az are raw accelerations along x, y, z axis respectively 𝑎𝑥ℎ𝑜𝑟 , 𝑎𝑦ℎ𝑜𝑟 , 𝑎𝑧ℎ𝑜𝑟 are filtered accelerations with gravity treatment done vx, vy, vz are raw angular velocity along x, y, z axis respectively 𝑣𝑥𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 , 𝑣𝑦𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 . 𝑣𝑧𝑓𝑖𝑙𝑡𝑒𝑟𝑒𝑑 are filtered angular velocity Data Processing (2) Noise Treatment • (2A) Treating Raw data through LPF Gravity Treatment • (2B) Remove Gravity from Accelerometer Raw data Calculate Magnitude • (2C) Calculate Magnitude of Acceleration and of Angular Velocity
  • 9. Raw Vs. Filtered Telemetry Data
  • 10. Significant Driving Events and Patterns • STEP 1 – Aggressive Turn Events • Turn events is based on filtered gyroscope energy (𝑣𝑒𝑙𝐹) • velF >= 0.025 • STEP 2 – Aggressive Acceleration / Breaking Events • Acceleration (braking/accelerating) events identification, from vehicle acceleration component information (accH) • accH >= 0.002 • STEP 3 – Zig-Zag Events • Zig-zag events are identified as two or more change lanes from the significant measurements of the accelerometer (accH) with very less angular Velocity (velR) • velF <= 0.0025 & accH >= 0.0013 • STEP 4 – Normal Events • Any instance that are not classified as one of the above 3 are classified as normal events Thresholds For Event Identification Thresholds are identified using a combination of mean, Outliers and trial and error method
  • 11. Predictive Modeling & Validation Model Precision Recall F1-Score Accuracy AUC GNB 0.46 0.28 0.35 0.7483 0.656 CART 0.34 0.36 0.35 0.6781 0.569 LOGIT 0.70 0.15 0.24 0.7810 0.683 RF 0.48 0.20 0.29 0.7576 0.627 KNN 0.42 0.25 0.31 0.7387 0.618 ANN 0.75 0.14 0.23 0.7828 0.691 XGB 0.75 0.15 0.25 0.7844 0.691
  • 12. Conclusion & Recommendations Predicted Unsafe Rides • Alerted on real time basis to respective drivers giving them opportunity to correct it • Alert the drivers on driving behaviors that are Unsafe Performance Evaluation • Drivers can be evaluated based on their driving behaviors thus encouraging better driving practices among drivers Organizing Mandatory Trainings • With specific importance on Feature’s relative importance from Models • Going slower that designated speed limits seems to have caused more Trips unsafe • Higher Trip Duration tend to be more unsafe. Encourage drivers to take short / traffic less routes • Advised to avoid Zig-Zag movements as they cause more trips unsafe