I ran an lstm model 10 times and averaged the values to get the mean and that became my predicted value. I calculated the standard diviation of each row and added it to my dataframe (test_iterations)that contains my predicted values. I now want to plot error bars so my graph can look like this (that was done in excel)
But when i use the following code i get a graph that looks like this
plt.errorbar(test_iterations['Mean'].values,
test_iterations['Mean'].values,
yerr = test_iterations['Stdv'].values,
fmt='-o')
I'm not sure what am doing is even right because i added x and y values on the code of the same thing but wasn't sure what to add there