Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have been asked by a San Francisco property investment company to model thehouse price estimates for properties they are considering purchasing as rental properties.

You have been asked by a San Francisco property investment company to model thehouse price estimates for properties they are considering purchasing as rental properties. The table below lists a sample of properties that have recently been sold for rental in the city.

The descriptive features in this dataset are SIZE (the property size in square feet) and RENT (the estimated monthly rental value of the property in dollars). The target feature, PRICE, lists the prices that these properties were sold for in dollars. ID SIZE RENT PRICE 1 2,700 9,235 2,000,000 2 1,315 1,800 820,000 3 1,050 1,250 800,000 4 2,200 7,000 1,750,000 5 1,800 3,800 1,450,500 6 1,900 4,000 1,500,500 7 960 800 720,000

a. what does a k-d tree for this dataset. Assume the following order over the features: RENT then SIZE.

b. Using the k-d tree that you created in the first part of this question, find the nearest neighbor to the following query: SIZE = 1,000, RENT = 2,200.

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_2

Step: 3

blur-text-image_3

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

Algebra 2

Authors: Edward B. Burger, Juli K. Dixon, Steven J. Leinwand, Timothy D. Kanold

1st Edition

0544385918, 978-0544385917

More Books

Students also viewed these Mathematics questions