Questions
Questions

COMP9417-Machine Learning & Data Mining - T3 2025

Multiple choice

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

Options
A.a. A
B.b. B
C.c. C
D.d. D
Question Image
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
We’re given a small 1D dataset with X = [−π, −0.5π, 0, 0.5π, π] and labels y = [1, −1, −1, −1, 1]. The question asks which feature mappings φ(x) would make the data linearly separable in the new feature space. Option A: φ(x) = (x, cos(x)) - The original x coordinate preserves order, and adding cos(x) introduces a smooth, bounded nonlinear dimension that correlates with the sign pattern of y across the symmetric range. Since cos(x) is even and x is odd, the combination can create a decision boundary that splits the endpoints (where y flips sign) more easily than using x alone. This pairing often helps separat......Login to view full explanation

Log in for full answers

We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

Similar Questions

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!