Data Science, Machine Learning, Time Series Analysis, Analytics, Linear Regression.
transformation because the model performs better this way transform = np.log price_time = price_time.apply(transform) # Train-Test Split price_test = price_time['Sep 2022':] # testing dataset (last 12 months) price_train = price_time[:'Aug 2022'] # training dataset (preceding data) For our dataset,