We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 153cb49 commit e3edba9Copy full SHA for e3edba9
machine_learning/loss_functions/perplexity_loss.py
@@ -1,9 +1,9 @@
1
"""
2
-Compute the Perplexity which useful in predicting language model
+Compute the Perplexity which useful in predicting language model
3
accuracy in Natural Language Processing (NLP.)
4
Perplexity is measure of how certain the model in its predictions.
5
6
-Formula :
+Formula :
7
8
Perplexity Loss = exp(-1/N (Σ ln(p(x)))
9
0 commit comments