QuestionQ124

VerifiedPreparing and using data for analysis

You have data shown in the graphic below. Its two dimensions are X and Y, and each dot’s shade indicates its class. You want to classify this data accurately with a linear algorithm. To do so, you need to add a synthetic feature. What should that feature’s value be?

Question Image

Explanation

The feature X² + Y² is the squared Euclidean distance from the origin. It converts concentric, center-versus-outer-region class structure into a one-dimensional threshold that a linear classifier can separate.

Community Discussion

No comments yet. Be the first to start the discussion!