Skip to content

Commit b0cfd5e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 153cb49 commit b0cfd5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: machine_learning/loss_functions/perplexity_loss.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""
2-
Compute the Perplexity which useful in predicting language model
2+
Compute the Perplexity which useful in predicting language model
33
accuracy in Natural Language Processing (NLP.)
44
Perplexity is measure of how certain the model in its predictions.
55
6-
Formula :
6+
Formula :
77
88
Perplexity Loss = exp(-1/N (Σ ln(p(x)))
99

0 commit comments

Comments
 (0)