题目
25S-STATS-102B-LEC-3 S25 Midterm Exam- Requires Respondus LockDown Browser
单项选择题
Suppose 𝑔 ( 𝑤 | 𝑦 𝑖 , 𝑥 𝑖 ) = ( 𝑦 𝑖 − 𝑥 𝑖 𝑇 𝑤 ) 2 , where 𝑤 ∈ 𝑅 𝑝 , 𝑦 𝑖 ∈ 𝑅 , and 𝑥 𝑖 ∈ 𝑅 𝑝 , for 𝑖 = 1 … 𝑛 . Is ∑ 𝑖 = 1 𝑛 𝑔 ( 𝑤 | 𝑦 𝑖 , 𝑥 𝑖 ) convex?
选项
A.No
B.Not enough information is provided to answer the question.
C.Yes
查看解析
标准答案
Please login to view
思路分析
To evaluate convexity, I’ll look at the function in terms of w with the given data fixed.
Option 1: 'No' — This would claim the sum is not convex. However, each term g(w|y_i,x_i) = (y_i - x_i^T w)^2 is a quadratic function in w with Hessian 2 x_i x_i^T, which is positive semidefinite for an......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!