Our main aim was to predict the traffic using SVR and RFR model, then compare their error and accuracy rate.
We build our model in python using a real time dataset.
The Date Column consists of the date on which the data were recorded in the format DD/MM/YYYY The Day Column consists of the day of the week on which the data was recorded. This is done to facilitate the use of the dataset for further usability to predict the possibility of traffic based on what day of the week it is. The coded day gives code numbers to each day of the week. This makes the prediction of traffic based on the day much easier since we are not bound to implement string functions for converting the given days to codes. The day codes are as follows: -- Monday - 1
Tuesday - 2
Wednesday - 3
Thursday - 4
Friday - 5
Saturday - 6
Sunday - 7
- 1 - Less than 5 cars.
2 - 5 to 15 cars.
3 - 15 to 30 cars.
4 - 30 to 50 cars.
5 - More than 50 cars.