Docsity

Using Bayes' Rule to Classify Animals Based on Weight - Prof. Ramani Duraiswami, Assignments of Computer Science

Toggle sidebar
bg1
1. Suppose we are trying to distinguish cats from dogs and the only measurement we
have is weight. Let the prior probabilities for cats and dogs be P(CAT) = 0.3,
p(DOG) = 0.7 and let the class conditional density functions for (integer-valued)
weight given class be uniformly distributed as follows:
–P(Weight|CAT) is uniform on [20, 39]
–P(Weight|DOG) is uniform on [30,59].
Explain how Bayes’ rule can be used to classify an unknown animal having weight
35 pounds given the prior and conditional probabilities defined above.
:

Partial preview of the text

Download Using Bayes' Rule to Classify Animals Based on Weight - Prof. Ramani Duraiswami and more Assignments Computer Science in PDF only on Docsity!

  1. Suppose we are trying to distinguish cats from dogs and the only measurement we have is weight. Let the prior probabilities for cats and dogs be P(CAT) = 0.3, p(DOG) = 0.7 and let the class conditional density functions for (integer-valued) weight given class be uniformly distributed as follows: –P(Weight|CAT) is uniform on [20, 39] –P(Weight|DOG) is uniform on [30,59]. Explain how Bayes’ rule can be used to classify an unknown animal having weight 35 pounds given the prior and conditional probabilities defined above. :