Time series analysis vs linear regression I am working on developing an algorithm which will predict the future traffic for the restaurant. I am confuse that which of the two: Linear regression or time series analysis I should use as the base for my algorithm. The features I am using are: Day,whether there was festival,temperature,climatic condition , current rating,whether there was holiday,service rating,number of reviews etc.

Please guide me how should I proceed . Also how can I optimize my algorithm so that it can learn with time.
The data you are having is panel data which is a combination of both cross sectional data and Time series.

You can try with regression models by giving time stamp to your data .Like maintaining one feature based your weekday (1 to 7).or if you have trends and seasonality in your data you can go to giving week number as feature like (0 to 53) weeks.