We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 672cc25 + f8d85bd commit 89727c9Copy full SHA for 89727c9
python/paddle/fluid/metrics.py
@@ -169,15 +169,15 @@ def eval(self):
169
return self.value / self.weight
170
171
172
-class ChunkEvalutor(MetricBase):
+class ChunkEvaluator(MetricBase):
173
"""
174
Accumulate counter numbers output by chunk_eval from mini-batches and
175
compute the precision recall and F1-score using the accumulated counter
176
numbers.
177
178
179
def __init__(self, name=None):
180
- super(ChunkEvalutor, self).__init__(name)
+ super(ChunkEvaluator, self).__init__(name)
181
self.num_infer_chunks = 0
182
self.num_label_chunks = 0
183
self.num_correct_chunks = 0
0 commit comments