I have a dataset where the feature set consists of hour of the day (between 0 to 23), day of the week (Monday to Sunday), number of shops (a positive integer) and road category (0 to 8 on an ordinal scale). I wish to predict the pedestrian volume which is a continuous variable. Hence I was looking a regression approaches and was thinking along the lines of using KNN. Will it be appropriate for this task? I am especially worried about the hour and day data as they are cyclic in nature.
df_test[['Day', 'Time','shop_count','road_category','pedestrian_volume']].iloc[0:5]
Day Time shop_count road_category pedestrian_volume
0 Tuesday 20 22 0 210.0
1 Tuesday 21 13 4 196.0
2 Tuesday 22 39 4 214.0
3 Tuesday 23 2 8 46.0
4 Wednesday 0 15 8 18.0