9591ddce3d4b2b62f7780c9ee36e729f7676950d,livelossplot/core.py,,draw_plot,#,22
Before Change
for i, (serie_label, serie_fmt) in enumerate(series_fmt.items()):
if serie_fmt.format(metric) in logs[0]:
serie_metric_name = serie_fmt.format(metric)
serie_metric_logs = [log[serie_metric_name] for log in logs]
plt.plot(range(1, len(logs) + 1),
serie_metric_logs,
label=serie_label)
plt.title(metric2title.get(metric, metric))
plt.xlabel("epoch")
plt.legend(loc="center right")
After Change
serie_metric_name = serie_fmt.format(metric)
serie_metric_logs = [(i, log[serie_metric_name])
for i, log in enumerate(logs)
if serie_metric_name in log]
if len(serie_metric_logs) > 0:
xs, ys = zip(*serie_metric_logs)
plt.plot(xs, ys, label=serie_label)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: stared/livelossplot
Commit Name: 9591ddce3d4b2b62f7780c9ee36e729f7676950d
Time: 2019-05-05
Author: pmigdal@gmail.com
File Name: livelossplot/core.py
Class Name:
Method Name: draw_plot
Project Name: interactiveaudiolab/nussl
Commit Name: 79b793bf65ab12cf7f29a9ebdd360717afa0d3ba
Time: 2020-01-19
Author: prem@u.northwestern.edu
File Name: nussl/deep/datasets/scaper_dataset.py
Class Name: Scaper
Method Name: load_audio_files
Project Name: jbms/beancount-import
Commit Name: e4d313478124e00a931ec40ab25643accad88641
Time: 2020-08-06
Author: dumbpyx@gmail.com
File Name: beancount_import/source/generic_importer_source.py
Class Name: ImporterSource
Method Name: prepare
Project Name: Logan1x/Python-Scripts
Commit Name: 2ef5c047b4296a807eea8366f67d7f271f0d47de
Time: 2020-06-28
Author: 59202862+Monsieurvishal@users.noreply.github.com
File Name: bin/password-strength-checker.py
Class Name:
Method Name: pass1