You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/23 03:59:03 UTC

[GitHub] szha commented on issue #8027: Optional reshape of predictions in Perplexity metric

szha commented on issue #8027: Optional reshape of predictions in Perplexity metric
URL: https://github.com/apache/incubator-mxnet/pull/8027#issuecomment-359669294
 
 
   Yes, I was looking into the metrics, and I didn't feel like having a separate perplexity metric was necessary in gluon. The reason is that perplexity is usually just the exp(cross_entropy_loss). Since cross_entropy_loss is required for training and often used in testing, getting perplexity is just about calculating its exponential. Having a separate perplexity in that case could mean unnecessarily repeated computation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services