Skip to content
ml-recall

#quadratic-features

1 question from Classification

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Single choice

hardAI-checkedClassification

Eight training points (x1,x2,x3)(x_1, x_2, x_3) with binary labels:

label 1 label 0
(1,1,−1)(1, 1, -1) (1,1,2)(1, 1, 2)
(0,2,−2)(0, 2, -2) (0,2,1)(0, 2, 1)
(0,−1,1)(0, -1, 1) (1,−1,−1)(1, -1, -1)
(0,−2,2)(0, -2, 2) (1,−2,−2)(1, -2, -2)

A quadratic logistic regression g(w0+w1xi+w2xj+w3xixj+w4xi2+w5xj2)g(w_0 + w_1 x_i + w_2 x_j + w_3 x_i x_j + w_4 x_i^2 + w_5 x_j^2) may use only one pair of features (xi,xj)(x_i, x_j). Which pair gives the lowest training error?

Choose one option