Data Science, Machine Learning, Time Series Analysis, Analytics, Linear Regression.
reverse our log transformation MAE_train = MAE(price_train[13:].apply(reverse_transform),train_predict[13:].apply(reverse_transform)) MAE_test = MAE(price_test.apply(reverse_transform),test_predict.apply(reverse_transform)) print(f'MAE of training dataset = {MAE_train:.2f}') print(f'MAE of testing