evaluator

Accuracy

class paddle.fluid.evaluator.Accuracy(input, label, k=1, **kwargs)

Average Accuracy for multiple mini-batches.

ChunkEvaluator

class paddle.fluid.evaluator.ChunkEvaluator(input, label, chunk_scheme, num_chunk_types, excluded_chunk_types=None)

Accumulate counter numbers output by chunk_eval from mini-batches and compute the precision recall and F1-score using the accumulated counter numbers.