Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you solve the problem? Help me please Approximate Inference A +a -a P(A) 0.3 0.7 BP(B) + 0.2 0.8 B N B C A
Can you solve the problem? Help me please
Approximate Inference A +a -a P(A) 0.3 0.7 BP(B) + 0.2 0.8 B N B C A a +a ta +a -a -a -a -a +b +b -b -b P(NIA,B) | 0.9 0.1 0.8 0.2 0.4 0.6 0.1 0.9 + -C +C -C P(CIB) 0.8 0.2 0.1 0.9 +b +b -b -b +b +b -b -b + -n + -n +n -n + -n NSP(SIN) +n + 0.4 -5 0.6 0.2 -n -5 0.8 + + Use samples below to answer the questions. + a +b +n +c +s -a +b +n +c +s + a +b +n -C -s + a +b -n -C - + + II ta -a ta -a -b -b -b -b on -n on +n tc +C -C -s -s +s 1. (2 points) Prior Sampling: Use above samples to calculate P(+) 2. [2 points) Rejection Sampling: You want to estimate P(+a+n, +c) by rejection sampling. Above is a list of samples that were generated using prior sampling. Cross out those that would be rejected by rejection sampling. 3. 2 points] What is the approximation for P(+al+n, +c) using the remaining samples? 4. [2 points] Likelihood Weighting: Suppose instead that you perform likelihood weighting on the following samples to get the estimate for P(+al + n, +c). You receive 4 samples consistent with the evidence. Calculate the weight of these samples. 1. +a +b +n +C -s Weight = 2. -a -b +n + c ts Weight = 3. +a -b +n + C +S Weight = 4. -a +b +n +c -s Weight = + + 5. 2 points) What is the approximation for P(+a+n, +c) using the samples from above. Approximate Inference A +a -a P(A) 0.3 0.7 BP(B) + 0.2 0.8 B N B C A a +a ta +a -a -a -a -a +b +b -b -b P(NIA,B) | 0.9 0.1 0.8 0.2 0.4 0.6 0.1 0.9 + -C +C -C P(CIB) 0.8 0.2 0.1 0.9 +b +b -b -b +b +b -b -b + -n + -n +n -n + -n NSP(SIN) +n + 0.4 -5 0.6 0.2 -n -5 0.8 + + Use samples below to answer the questions. + a +b +n +c +s -a +b +n +c +s + a +b +n -C -s + a +b -n -C - + + II ta -a ta -a -b -b -b -b on -n on +n tc +C -C -s -s +s 1. (2 points) Prior Sampling: Use above samples to calculate P(+) 2. [2 points) Rejection Sampling: You want to estimate P(+a+n, +c) by rejection sampling. Above is a list of samples that were generated using prior sampling. Cross out those that would be rejected by rejection sampling. 3. 2 points] What is the approximation for P(+al+n, +c) using the remaining samples? 4. [2 points] Likelihood Weighting: Suppose instead that you perform likelihood weighting on the following samples to get the estimate for P(+al + n, +c). You receive 4 samples consistent with the evidence. Calculate the weight of these samples. 1. +a +b +n +C -s Weight = 2. -a -b +n + c ts Weight = 3. +a -b +n + C +S Weight = 4. -a +b +n +c -s Weight = + + 5. 2 points) What is the approximation for P(+a+n, +c) using the samples from above
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started