ratishsp/data2text-plan-py

Which metric is used in development?

Closed this issue · 4 comments

Thanks for your sharing.
In model training, there are two metric 'ppl' and 'accuracy'. What's more , there are other metrics in evaluation, such as RG, CO and CS.
So which one is used to mentor parameters choosing in development.
Thanks so much

I have used accuracy metric for model selection. Accuracy had better correlation than perplexity on the validation scores.

Yes, you are correct. The implementation of accuracy computation is at:

def accuracy(self):
return 100 * (self.n_correct / self.n_words)

thanks so much