Question
Can you please answer this with calculations. Euclidean distance question: Given the following dataset: Square Footage (in thousands) School Rating Home Type Sale Price 1
Can you please answer this with calculations.
Euclidean distance question: Given the following dataset:
Square Footage (in thousands) School Rating Home Type Sale Price 1 9 Condo High 2 6 Condo Low 3 7 Single Family House Low 4 9 Single Family House High 4 10 Single Family House High If we would like to use k-nn model (k=3) to make prediction for the sale price (low/ high) of a new single family house with 4000 square footage, and school rating at 8, how can we do that?
Describe the process of your prediction including the distance calculation. (To make the problem simplified, no need to consider normalization)
Note: You need to actually do the calculations of distances and based on the calculation result, talk about whether the new house's price should be high/ low
For grading:
1. The calculation of Euclidean distances -10 points
2. What is the prediction? Describe how the model should make a prediction. - 10 points
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