7ba8138cf34c4333adb13a2fa5aefa6d2bdf28ef,opennmt/evaluation.py,Evaluator,metrics_name,#Evaluator#,119
Before Change
@property
def metrics_name(self):
The name of the metrics returned by this evaluator.
names = {"loss"}
names.update(set(scorer.name for scorer in self._scorers))
metrics = self._model.get_metrics()
if metrics is not None:
names.update(set(six.iterkeys(metrics)))
return names
@property
def metrics_history(self):
The history of metrics result per evaluation step.
After Change
@property
def metrics_name(self):
The name of the metrics returned by this evaluator.
return self._metrics_name
@property
def metrics_history(self):
The history of metrics result per evaluation step.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances Project Name: OpenNMT/OpenNMT-tf
Commit Name: 7ba8138cf34c4333adb13a2fa5aefa6d2bdf28ef
Time: 2019-09-19
Author: guillaume.klein@systrangroup.com
File Name: opennmt/evaluation.py
Class Name: Evaluator
Method Name: metrics_name
Project Name: PetrochukM/PyTorch-NLP
Commit Name: b634cb56f44b35f57ae4cf4f5d1cadf924060da1
Time: 2019-08-10
Author: petrochukm@gmail.com
File Name: torchnlp/utils.py
Class Name:
Method Name: get_tensors
Project Name: pfnet-research/chainer-chemistry
Commit Name: 4f100860fc730a53c4af886ead728e303ed48c62
Time: 2018-02-25
Author: mottodora@gmail.com
File Name: chainer_chemistry/dataset/parsers/sdf_file_parser.py
Class Name: SDFFileParser
Method Name: parse
Project Name: pfnet-research/chainer-chemistry
Commit Name: 4f100860fc730a53c4af886ead728e303ed48c62
Time: 2018-02-25
Author: mottodora@gmail.com
File Name: chainer_chemistry/dataset/parsers/csv_file_parser.py
Class Name: CSVFileParser
Method Name: parse
Project Name: OpenNMT/OpenNMT-tf
Commit Name: 7ba8138cf34c4333adb13a2fa5aefa6d2bdf28ef
Time: 2019-09-19
Author: guillaume.klein@systrangroup.com
File Name: opennmt/evaluation.py
Class Name: Evaluator
Method Name: metrics_name