|
|
|
|
@ -50,7 +50,8 @@ def total_boxplot(DATA, creator = 'any', tester = 'any', simulation = "dummy sim
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#print(len(data_to_plot), len(labels))
|
|
|
|
|
elements = ax.boxplot(data_to_plot, patch_artist=True, tick_labels=labels)
|
|
|
|
|
median_styling = {'color': 'black', 'linewidth': 2}
|
|
|
|
|
elements = ax.boxplot(data_to_plot, patch_artist=True, tick_labels=labels, medianprops=median_styling)
|
|
|
|
|
for i, patch in enumerate(elements['boxes']):
|
|
|
|
|
patch.set_facecolor(colors_list[(i)%10])
|
|
|
|
|
|
|
|
|
|
@ -115,9 +116,26 @@ def convert_score(data):
|
|
|
|
|
|
|
|
|
|
return score_new
|
|
|
|
|
|
|
|
|
|
# DATA[name] = {name: [scores]}
|
|
|
|
|
def no_interface_plot(DATA):
|
|
|
|
|
|
|
|
|
|
species = list(DATA.keys())
|
|
|
|
|
penguin_means = {
|
|
|
|
|
'Int': [],
|
|
|
|
|
'Not Int': []}
|
|
|
|
|
|
|
|
|
|
for creator, Data in DATA.items():
|
|
|
|
|
for tester, data in Data.items():
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
fig, ax = plt.subplots()
|
|
|
|
|
print(DATA.keys())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
|
|
|
|
|
global_path = "/home/gestures6/Easy_sim/dummy_simulation/stats/"
|
|
|
|
|
global_path = "/home/gestures/Easy_sim/dummy_simulation/stats/"
|
|
|
|
|
# 1. Name (Dima)
|
|
|
|
|
# 2. Name-Name (Dima-Elisey)
|
|
|
|
|
|
|
|
|
|
@ -153,12 +171,14 @@ if __name__ == '__main__':
|
|
|
|
|
|
|
|
|
|
total_boxplot(DATA, creator = 'any', tester = 'any')
|
|
|
|
|
|
|
|
|
|
for name in DATA.keys():
|
|
|
|
|
no_interface_plot(DATA)
|
|
|
|
|
|
|
|
|
|
#for name in DATA.keys():
|
|
|
|
|
|
|
|
|
|
total_boxplot(DATA, creator = name, tester = 'any')
|
|
|
|
|
total_boxplot(DATA, creator = 'any', tester = name)
|
|
|
|
|
#total_boxplot(DATA, creator = name, tester = 'any')
|
|
|
|
|
#total_boxplot(DATA, creator = 'any', tester = name)
|
|
|
|
|
|
|
|
|
|
heat_map(DATA)
|
|
|
|
|
#heat_map(DATA)
|
|
|
|
|
|
|
|
|
|
plt.show()
|
|
|
|
|
|
|
|
|
|
|