Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part A . Let us have the training dataset consisting of 3 data points ( with coordinates on the XoY plane in the form of

Part A. Let us have the training dataset consisting of 3 data points(with coordinates on the XoY plane in the form of (x,y)): (-2,0),(0,2), and (2,0). The test set consists of 1 point with x =(1.9) and the ground truth label y =0.75. We are using the Euclidian (orl2) metric. Select the correct option below and provide detailed explanation.
Note: input features are 1-dimensional (x-coordinate), while output label is y-coordinate on the XoY plane.
(A) The mean test error of 1-NN Regression method is greater than it is for 2-NN method test error
(B) The mean test error of 1-NN Regression method is the same as it is for 2-NN method test error
(C) The mean test error of 1-NN Regression method is less than it is for 2-NN method test error
(D) None of the above
Part B. For the examples above, would the results change if we switchl1metric withl2and vice versa?
(A) Yes,l1metric would give us generally bigger mean error thanl2
(B) No, the results above would remain the same
(C) Yes,l2metric would give us generally bigger mean error thanl1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions

Question

plan and structure your literature review;

Answered: 1 week ago

Question

establish an effective note-taking and recording system;

Answered: 1 week ago

Question

identify what you need to read and where to find it;

Answered: 1 week ago