Question 9

Last Updated :
Discuss
Comments

The calculateGaussianProbability function in the code includes a small epsilon (1e-10) in the denominator. What is the purpose of this?

To increase the predicted probabilities

To avoid division by zero when standard deviation is zero

To scale the probabilities to sum to 1

To speed up computation

Share your thoughts in the comments