Under the section titled "Comparing results", the code below:
model_results = [["model_1", mae_1, mse_1], ["model_2", mae_2, mse_2], ["model_3", mae_3, mae_3]]
should be changed to
model_results = [["model_1", mae_1, mse_1], ["model_2", mae_2, mse_2], ["model_3", mae_3, mse_3]]
This change would properly reflect the mse for the third model instead of showing the mae twice.
Under the section titled "Comparing results", the code below:
model_results = [["model_1", mae_1, mse_1], ["model_2", mae_2, mse_2], ["model_3", mae_3, mae_3]]
should be changed tomodel_results = [["model_1", mae_1, mse_1], ["model_2", mae_2, mse_2], ["model_3", mae_3, mse_3]]
This change would properly reflect the mse for the third model instead of showing the mae twice.