Question: 3.2 Task 2: Sampling and Bayesian Learning (30 marks) Consider the example regarding bags of candies with two flavours (cherry and lime) and the following

3.2 Task 2: Sampling and Bayesian Learning (30 marks) Consider the example regarding bags of candies with two flavours (cherry and lime) and the following three Hypotheses: 1) : 10% cherry + 90% lime 2) 60% cherry + 40% lime 3) hh 80% cherry + 20% lime h.A2 The prior probabilities of these three hypotheses are 0.2, 0.5, 0.3 respectively. For each hypothesis, generate a dataset of 20 examples using a sampling method and implement the Bayesian learning methods to learn the hypothesis and predict the flavor with the learnt hypothesis. In your report, summarise the methods of your implementation and provide the experimental results with discussions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
