Data Science, Machine Learning, Analytics, Time Series Analysis, Linear Regression.
classes, at 2671 and 565, respectively. It should be noted that categorical features that contain very large number of classes tend to add complexity to the model and are very prone to cause overfitting. Hence, we decide to drop these features. cat = newdata.select_dtypes(exclude = 'number')