9b032a326f3d77f3596d956d0d6a25560152112f,pycox/callbacks/callbacks.py,TrainingLogger,to_pandas,#TrainingLogger#,251
Before Change
// for name, mm in self.verbose.items():
for name, mm in mon.items():
d = mm.to_pandas()
if naming == "suffix":
df = df.join(d, rsuffix=name)
continue
if naming == "prefix":
d.columns = [name+"_"+c for c in d.columns]
df = df.join(d)
return df
After Change
// df = self.train_loss.to_pandas()
mon = self.monitors.copy()
df = mon.pop("train_loss").to_pandas()
df.columns = ["train_loss"]
if self.verbose.__class__ in [dict, OrderedDict]:
mon.update(self.verbose)
// for name, mm in self.verbose.items():
for name, mm in mon.items():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: havakv/pycox
Commit Name: 9b032a326f3d77f3596d956d0d6a25560152112f
Time: 2018-05-07
Author: havard@DN0a22c460.SUNet
File Name: pycox/callbacks/callbacks.py
Class Name: TrainingLogger
Method Name: to_pandas
Project Name: oddt/oddt
Commit Name: e626254b74ecb6dc71396c1b35237b53a5e35163
Time: 2017-08-23
Author: maciek@wojcikowski.pl
File Name: oddt/datasets.py
Class Name: pdbbind
Method Name: __init__
Project Name: brian-team/brian2
Commit Name: ddc73d49a2a80c55805ae9e298437a86c59cab23
Time: 2017-07-20
Author: charleetje@gmail.com
File Name: brian2/codegen/generators/GSL_generator.py
Class Name: GSLCodeGenerator
Method Name: write_dataholder