Results data loading fix

This commit is contained in:
MatOgr 2022-05-02 18:40:14 +02:00
parent 3516f6a158
commit 38c5d047c0

View File

@ -20,7 +20,8 @@ with open('./data/evaluation_results.csv', 'a+') as f:
f.write("{0},{1},{2}\n".format(*evaluate_model(test_data, model)))
# * Load all inference data gathered (till the current one)
results = pd.read_csv('./data/evaluation_results.csv', header=0)
results = pd.read_csv('./data/evaluation_results.csv',
names=['MSE', 'RMSE', 'MAE'])
# * Plot the results
plt.plot(range(1, len(results)+1), results['MSE'], color='green')