figure training and validat ion loss listing plot ing he raining and validat ion accuracy plt clf(clears the figure acc_values history_dict['acc'val_acc_values history_dict['val_acc'plt plot(epochsacc'bo'label='training acc'plt plot(epochsval_acc' 'label='validation acc'plt title('training and validation accuracy'plt xlabel('epochs'plt ylabel('loss'plt legend(plt show(figure training and validat ion accuracy licensed to