primeqa.tableqa.metrics.answer_accuracy.compute_denotation_accuracy#

primeqa.tableqa.metrics.answer_accuracy.compute_denotation_accuracy(predicted_answers, gold_answers)#

Computes denotation accuracy based on predicted and gold answers

Parameters
  • predicted_answers (List) – List of predicted answers

  • gold_answers (List) – List of gold answers

Returns

Metrics score

Return type

Dict