Natural Language processing Unigram perplexity

Viewed 170

You are given a training set of 100 numbers that consists of 91 zeros and 1 each of the other digits 1-9. Now we see the following test set: 0 0 0 0 0 3 0 0 0 0. What is the unigram perplexity?

How to find this solution?

0 Answers
Related