题目
COMP4318 COMP5318 (NE) Homework w4
单项选择题
5) What will be the prediction of Naïve Bayes for thew following new example: Secondhand = no, Genre = literature, Price = expensive
选项
A.Purchased=true
B.Purchased=false
查看解析
标准答案
Please login to view
思路分析
Question restatement: The task asks for the Naïve Bayes prediction for a new example with features: Secondhand = no, Genre = literature, Price = expensive. The answer choices are: 1) Purchased=true 2) Purchased=false.
Option 1: Purchased=true. In Naïve Bayes, the predicted class is the one with the highest posterior probability given the features: P(Purchased|Secondhand=no, Genre=literature, Price=expensive) ∝ P(Purchased) × P(Secondhand=no|Purchased) × P(Genre=literature|Purchased) × P(Price=expensive|Purchased). If, given the trained model, this product is larger than the corresponding product for Pu......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Which statements about Naive Bayes are true? (Select all that apply.)
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
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.
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!