f747ee321df31e87708673076595c8011f6d50ed,python/baseline/dy/classify/train.py,ClassifyTrainerAutobatch,_step,#ClassifyTrainerAutobatch#Any#Any#Any#,67
Before Change
metrics = cm.get_all_metrics()
metrics["avg_loss"] = total_loss / float(steps)
if verbose:
print("\n{}\n".format("".join(["="]*40)))
print(cm)
print("\n{}\n".format("".join(["="]*40)))
return metrics
def fit(
After Change
metrics = cm.get_all_metrics()
metrics["avg_loss"] = total_loss / float(steps)
verbose_output(verbose, cm)
return metrics
def fit(
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/dy/classify/train.py
Class Name: ClassifyTrainerAutobatch
Method Name: _step
Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/dy/classify/train.py
Class Name: ClassifyTrainerDynet
Method Name: _step
Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/pytorch/classify/train.py
Class Name: ClassifyTrainerPyTorch
Method Name: _test
Project Name: dpressel/mead-baseline
Commit Name: f747ee321df31e87708673076595c8011f6d50ed
Time: 2018-09-04
Author: sagnik1987@gmail.com
File Name: python/baseline/tf/classify/train.py
Class Name: ClassifyTrainerTf
Method Name: _test