题目
单项选择题
Question16 Suppose that you are given the following set of data with three Boolean input variables x1, x2 and x3 and a single Boolean output variable y (Recall: Bayes theorem tells us: [math]) [table] x1 | x2 | x3 | y 1 | 0 | 1 | 1 1 | 1 | 1 | 1 0 | 1 | 1 | 0 1 | 1 | 0 | 0 1 | 0 | 1 | 0 0 | 0 | 0 | 1 0 | 0 | 0 | 1 0 | 0 | 1 | 0 [/table] According to naïve Bayes classifier, what is [math] ? (select one) 0.75 0.25 0.5 1 ResetMaximum marks: 1 Flag question undefined
选项
A.0.75
B.0.25
C.0.5
D.1
查看解析
标准答案
Please login to view
思路分析
We start by restating the problem setup and the options to keep the context clear.
Question: According to naïve Bayes classifier, what is P(y = 1 | x1, x2, x3) for the given data table? Options: 0.75, 0.25, 0.5, 1.
Option 1: 0.75. To assess this, we would compute the posterior using Bayes’ rule under the naïve Bayes assumption: P(y=1|x) ∝ P(y=1) ∏i P(xi|y=1). If the product of the likelihood terms P(xi|y=1) combined with the prior P(y=1) yields a value proportional to 0.75, then this option would be correct. In many small datasets, a jump to 0.75 would require relatively strong evidence in favor of y=1 from the feature values, i.e., high P(xi|y=1) for the observed xi and a relatively hi......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Which statements about Naive Bayes are true? (Select all that apply.)
Question12 Which of the following statements is/are CORRECT about Naïve Bayes? (you can choose more than one)Select one or more alternatives: Naïve Bayes assumes that samples are statistically independent given the class value Naïve Bayes can be applied to both numerical and categorical features If the conditional independence assumption gets violated, Naïve Bayes will be useless Naïve Bayes is a generative model ResetMaximum marks: 1.5 Flag question undefined
Naïve Bayes Classifier can be used for ______________________. Select all that apply for full marks.
Which of the following statements about Naive Bayes is incorrect? 1. Features are equally important 2. Features are statistically dependent of one another given the class value 3. The model calculates the posterior probability of each class given the input features 4. Features can be nominal or numeric
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!