Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 4: k-Nearest Neighbors and Decision Trees [6 points] Consider this training dataset, where each example has two features, X1 and X2, and a label,
Problem 4: k-Nearest Neighbors and Decision Trees [6 points] Consider this training dataset, where each example has two features, X1 and X2, and a label, Y: Training Set 12 Y=0 Y=1 10 6 4 N 0 -2 -500 0 500 1000 1500 2000 2500 X1 Will K-NN classification work well if we apply it directly (without any data pre-processing) to this training dataset? Argue why or why not. If not, how would you pre-process the data to address the issue? Will decision-tree classification work well if we apply it directly? Draw a decision tree with two decision nodes (specifying the feature variables and their thresholds), which fits the training data best, and estimate its accuracy when predicting the training examples
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started