SlideShare a Scribd company logo
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 v002
Enrico Busto
 
Project 2019 05
Project 2019 05Project 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
Advanced-Concepts-Team
 
Presentation
PresentationPresentation
Presentation
Marcus Pereira
 
2006 mine integration plan
2006 mine integration plan2006 mine integration plan
2006 mine integration plan
Elliot Duff
 
Automotive Virtual Sensors - Motorsport Applications
Automotive Virtual Sensors - Motorsport ApplicationsAutomotive Virtual Sensors - Motorsport Applications
Automotive Virtual Sensors - Motorsport Applications
Enrico Busto
 
Traffic Detection Systems (Transportation Engineering)
Traffic Detection Systems (Transportation Engineering)Traffic Detection Systems (Transportation Engineering)
Traffic Detection Systems (Transportation Engineering)
Hossam Shafiq I
 
Vehicle detection
Vehicle detectionVehicle detection
Vehicle detection
Evangelos Skodras
 
P1131210137
P1131210137P1131210137
P1131210137
Ashraf Aboshosha
 
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
eXascale Infolab
 
Vehicle counting without background modeling
Vehicle counting without background modelingVehicle counting without background modeling
Vehicle counting without background modeling
Lihguong 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

IMU General Introduction
IMU General IntroductionIMU General Introduction
IMU General Introduction
James D.B. Wang, PhD
 
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 Vehicles
ahmad 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 Analysis
sigmatest2011
 
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
sipij
 
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
Alejandro Correa Bahnsen, PhD
 
Embedded Programming for Quadcopters
Embedded Programming for QuadcoptersEmbedded Programming for Quadcopters
Embedded Programming for Quadcopters
Ryan Boland
 
Accelerometer 1
Accelerometer 1Accelerometer 1
Accelerometer 1
Er Sumit Balguvhar
 
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
IJRES Journal
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
farhan_naseer_1
 
KnightGearCDR.pptx
KnightGearCDR.pptx KnightGearCDR.pptx
KnightGearCDR.pptx
GobhinathS
 
WRAIR
WRAIRWRAIR
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 | J4RV3I12018
Journal 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 controller
IAEME Publication
 
2014 10-15-workshop-machinenauwkeurigheid-etalon
2014 10-15-workshop-machinenauwkeurigheid-etalon2014 10-15-workshop-machinenauwkeurigheid-etalon
2014 10-15-workshop-machinenauwkeurigheid-etalon
Sirris
 
Event Data Recorder in Automobile
Event Data Recorder in AutomobileEvent Data Recorder in Automobile
Event Data Recorder in Automobile
IRJET 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 Measurement
IJRES Journal
 
QRS signal ECG detection
QRS signal ECG detectionQRS signal ECG detection

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

Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
wyddcwye1
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 

Recently uploaded (20)

Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 

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