Question: how would I write code that predicts total _ fare from the rest of the columns trip _ id: id string for taxi trip total

how would I write code that predicts total_fare from the rest of the columns
trip_id: id string for taxi trip
total_fare: total fare of the trip
trip_duration: the time duration of the trip
num_of_passengers: the number of passengers
surge_applied: additional surcharge
It is evaluated based on RMSE and for each 'trip_id' in the test set, it must predict a number for the 'total_fare' column.
It should be in the following format:
trip_id,total_fare
5a322d82-1a4a-4f70-a446-f1fda8e8e3ab,50.0
...
all of the tutorials or advice I find has to use longitutde and latitudes to work and I dont even really know where to begin and im struggling a lot. Any advice or help you can offer is much appreciated!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!