image_output_1.png
from sklearn.metrics import roc_curve, plot_roc_curve, mean_absolute_error, mean_squared_error, accuracy_score

y_pred = [y_train.mean()] * len(y_train)
mean_baseline_pred = y_train.mean()
baseline_mae = mean_absolute_error(y_train, y_pred)
baseline_rmse = mean_squared_error(y_train, y_pred, squared=False)
print('Mean Price Per KW/h Baseline Pred:', mean_baseline_pred)
print('-------------------------------------------------------------------')
print('Baseline Mae:', baseline_mae)
print('-------------------------------------------------------------------')
print('Baseline RMSE:', baseline_rmse)