Wednesday, May 20, 2020

Natural language processing question bank 02

Why is it better to compute likelihood and probability values in log space?


Question:

Why is it better to computer likelihood and probability values in log space?


Answer:


Computing likelihood and probability values in log space solves the underflow problem (refer below). Moreover, when computing in log space, we can replace the multiplication operations by addition operations, which are usually faster than multiplication operations on a modern computer.

What is Underflow?

Joint probability distribution often involves multiplying small individual probabilities. Many probabilistic algorithms involve multiplying probabilities of individual data points that takes the result very close to zero. This is called as underflow.


*************************

Related questions:


  • Why is it better to compute likelihood and probability values in log space?


No comments:

Post a Comment

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery