Skip to content
ml-recall

#kernel-width

2 questions from Nearest Neighbors & Kernel Methods, Explainable AI

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Single choice

mediumAI-checkedNearest Neighbors & Kernel Methods

You tune the width σ of a Gaussian kernel in Nadaraya–Watson regression by minimizing the training error ∑i(f(xi)−yi)2\sum_i (f(\mathbf{x}_i) - y_i)^2, where each f(xi)f(\mathbf{x}_i) is computed with the pair (xi,yi)(\mathbf{x}_i, y_i) itself still in the data. Where does σ go?

Choose one option