I am trying to calculate the mean average of columns from a list of arrays.
f1_score = [array([0.807892 , 0.91698113, 0.73846154]),
array([0.80041797, 0.9056244 , 0.72017837]),
array([0.80541103, 0.91493384, 0.70282486])]
I also tried as mentioned below, but I couldn't get the mean value for columns.
output = []
for i in range(len(f1_score)):
output.append(np.mean(f1_score[i], axis = 0))
I get the mean values for rows:
[0.8211115582302323, 0.8087402497928408, 0.8077232421210242]
But I need the mean values for columns:
array([0.8045736667, 0.9125131233, 0.7204882567])
Thanks in advance for your answer.