考虑一个输入数据是5维特征值的朴素贝叶斯二元分类器,:X 有5个特征<X1,….,X5 > ,Y 的标签(分类目标)则为两个 (Y = 1 或 Y = 0). 假设计算分类标签Y时, 𝑋 𝑖 ( 𝑖 = 1 , … , 5 ) 是有条件的独立的。 亦即 𝑃 ( 𝑋 𝑖 | 𝑌 = 𝑘 ) 𝑁 ( 𝜇 𝑖 𝑘 , 𝜎 𝑖 𝑘 ) ,其中, 𝑘 = 0 , 1 以及 𝑖 = 1 , … , 5 。 𝑃 ( 𝑌 ) 遵循 , 𝐵 𝑒 𝑟 𝑛 𝑜 𝑢 𝑙 𝑙 𝑖 ( 𝜃 ; 1 − 𝜃 ) , 亦即 𝑃 ( 𝑌 = 0 ) = 𝜃 。 此分类器中的独立参数总数为多少? Consider a Gaussian Naive Bayes to learn a binary classifier using 5-dimensional real-valued features: X =<X1,….,X5 > and Y class label (Y = 1 or Y = 0). Assume 𝑋 𝑖 ( 𝑖 = 1 , … , 5 ) are conditionally independent given the class label Y, i.e., 𝑃 ( 𝑋 𝑖 | 𝑌 = 𝑘 ) 𝑁 ( 𝜇 𝑖 𝑘 , 𝜎 𝑖 𝑘 ) where 𝑘 = 0 , 1 and 𝑖 = 1 , … , 5 . 𝑃 ( 𝑌 ) follows 𝐵 𝑒 𝑟 𝑛 𝑜 𝑢 𝑙 𝑙 𝑖 ( 𝜃 ; 1 − 𝜃 ) 𝑖 . 𝑒 . 𝑃 ( 𝑌 = 0 ) = 𝜃 . What is the total number of independent parameters in this classifier?单项选择题
A
11
B
31
C
20
D
21
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
Which functions are useful in Naive Bayes' classification when features are continuous?
Pedersen Industries wants to initiate a new project. To facilitate the project, an increase in cash of $20,000 will be required and the firm needs to build up $15,000 in inventory. The firm is expecting revenues of $500,000 per year and cost of goods sold (COGS) of $400,000. Pedersen Industries is expecting that Accounts Receivables (AR) will account for 5% of annual sales and Accounts Payables (AP) will account for 10% of COGS. All these changes will occur in year t=1. What is the incremental cash flow effect from the change in Net Working Capital (NWC) in year 1?
When evaluating a new project, firms should include in the projected cash flows all of the following EXCEPT:
The following cost data relate to the manufacturing activities of Newberry Company during the just completed year: Newberry Company's cost data Total actual manufacturing overhead cost incurred $372,000 Predetermined overhead rate $18 per machine-hour Actual machine-hours recorded 21,000 machine-hours Manufacturing overhead for the year is:
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!