题目
题目

COMP9417-Machine Learning & Data Mining - T3 2025

多项选择题

Consider the following dataset: X=[-\pi,-0.5\pi,0,0.5\pi,\pi] with corresponding labels y=[1,-1,-1,-1,1]. Which of the following transformations would make the data linearly separable? A. \phi(x)=(x,cos( x)) B. \phi(x)=(x,sin(x)) C. \phi(x)=(x,cos(0.5 x)) D. \phi(x)=(x,sin(0.5 x))

题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
Question restatement: Given X = [-π, -0.5π, 0, 0.5π, π] with labels y = [1, -1, -1, -1, 1], which of the following feature mappings φ(x) would make the data linearly separable? Options: A. φ(x) = (x, cos(x)) B. φ(x) = (x, sin(x)) C. φ(x) = (x, cos(0.5x)) D. φ(x) = (x, sin(0.5x)) Option-by-option analysis: A) φ(x) = (x, cos(x)) - Intuition: Adding a cosine term can introduce nonlinear curvature that might separate the symmetric labels at the chosen x values. The cos(x) component oscillates between -1 and 1 with the same period as x’s domain here, which can create a decision boundary in the (x, cos x) feature space that splits the two classes more easily than in the original x-space. - Why this could work: The first coordinate x preserves the ordering and magni......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!