2118f87a1d95e673ac0994989a5464480ce2ffe1,pycm/pycm_obj.py,ConfusionMatrix,plot,#ConfusionMatrix#,884
Before Change
matrix = self.to_array(normalized=normalized)
if normalized:
title += " (Normalized)"
classes = [self.label_map[_class] for _class in sorted(self.label_map.keys())]
if plot_lib == "matplotlib":
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
plt.imshow(matrix, cmap=plt.cm.gray_r)
After Change
class_name=class_name)
if normalized:
title += " (Normalized)"
classes = sorted(self.classes)
if one_vs_all and class_name in classes:
classes = [class_name, "~"]
if plot_lib == "matplotlib":
from matplotlib import pyplot as plt
fig, ax = plt.subplots()
plt.imshow(matrix, cmap=plt.cm.gray_r)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: sepandhaghighi/pycm
Commit Name: 2118f87a1d95e673ac0994989a5464480ce2ffe1
Time: 2020-09-30
Author: sabouri.sadra@gmail.com
File Name: pycm/pycm_obj.py
Class Name: ConfusionMatrix
Method Name: plot
Project Name: jazzband/django-debug-toolbar
Commit Name: e0b6f888a677336586dc33f091a04e2e8d8adba6
Time: 2017-04-24
Author: keryn@kerynknight.com
File Name: debug_toolbar/panels/templates/panel.py
Class Name: TemplatesPanel
Method Name: _store_template_info
Project Name: jazzband/django-debug-toolbar
Commit Name: 842ed8a0e9d4e4ccadd6114147f8e2805b0a251c
Time: 2013-11-01
Author: aymeric.augustin@m4x.org
File Name: debug_toolbar/panels/headers.py
Class Name: HeaderDebugPanel
Method Name: process_request