failure visualization wip
parent
a9b244a50c
commit
c75ff4d109
|
|
@ -129,8 +129,16 @@ def play_results(audio_group='audio'):
|
|||
close_player()
|
||||
|
||||
def visualize_results(audio_group='audio'):
|
||||
# %matplotlib inline
|
||||
audio_group = 'story_words'
|
||||
result = pd.read_csv('./outputs/' + audio_group + '.results.csv',index_col=0)
|
||||
import pdb; pdb.set_trace()
|
||||
result.groupby('success').size().plot(kind='bar')
|
||||
result.describe(include=['object'])
|
||||
failed = result[result['success'] == False]
|
||||
same_failed = failed[failed['variant1'] == failed['variant2']]
|
||||
diff_failed = failed[failed['variant1'] != failed['variant2']]
|
||||
same_failed[same_failed['voice1'] != same_failed['voice2']]
|
||||
diff_failed[diff_failed['voice1'] != diff_failed['voice2']]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in New Issue