Confusion matrix 시각화
“How to plot wholesome confusion matrix?” by Deepanshu Jindal 유용한 코드니 참고해서 사용하려고하니, 여러분도 애용하세요! https://link.medium.com/dlmxbyUxFW “How to plot wholesome confusion matrix?” A place where words matter link.medium.com def plot_confusion_matrix(cm, target_names=None, cmap=None, normalize=True, labels=True, title='Confusion matrix'): accuracy = np.trace(cm) / float(np.sum(cm)) misclass = 1 - accurac..
2019.05.14