Question: Please help me solve this in R code. In late 2 0 1 3 , the taxi company Yourcabs.com in Bangalore, India, was facing a
Please help me solve this in R code. In late the taxi company Yourcabs.com in Bangalore, India, was facing a problem with the
drivers using their platform not showing up for their scheduled calls. Drivers would cancel their
acceptance of a call, and, if the cancellation did not occur with adequate notice, the customer
would be delayed or even left high and dry.
Yourcabs.com featured an online booking system though customers could phone in as well and
presented itself as a taxi booking portal. Yourcabs.com had collected data on its bookings from
to
The data presented for this case are a randomly selected subset of the original data, with
rows, one row for each booking. There are input variables, including user customer ID
vehicle model, whether the booking was made online or via a mobile app, type of travel, type of
booking package, geographic information, and the date and time of the scheduled trip. The target
variable of interest is the binary indicator of whether a ride was canceled. The overall
cancellation rate is between and
Questions
Explore, prepare, and transform the data to facilitate predictive modeling. Describe your
process.
Fit the following predictive models using the same data. Vary the features and tuning
parameters. Discuss the results?
a NB
b Decision Tree
c ANN
d SVM
Report the predictive performance of your selected specification for each model in terms of
the confusion matrix and performance measures. How well does the model perform?
Based on your analysis which model would you recommend and why? Possible Data Loss Some features might be lost if you save this workbook in the commadelimited csv format. To preserve these features, save it in an Excel file format.
Yourcab dataset as shown in the picture
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
