subject

Predicting housing median prices. The file BostonHousing. xls contains information on over 500 census tracts in Boston, where for each tract 14 variable values are recorded. The last column (CAT. MEDV) was derived from MEDV, such that it obtains the value 1 if MEDV>30 and 0 otherwise. Consider the goal of predicting and classifying the median value (MEDV and CAT. MEDV) of a tract, given the information in the first 13 columns (input variables) in the column list. Partition the data into training (60%) and validation (40%) sets.
a) Perform a k-nearest neighbors prediction with all 13 predictors (the CAT. MEDV column is the outcome or decision variable), trying values of k from 1 to 10. Make sure to normalize the data (click "normalize input data"). What is the best k chosen? What does it mean?
b) Why is the validation data error overly optimistic compared to the error rate when applying this kNNpredictor to new data?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. obfuscate: to make something so confusing that it is difficult to understand.
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
You know the right answer?
Predicting housing median prices. The file BostonHousing. xls contains information on over 500 cens...
Questions
question
Mathematics, 05.01.2021 03:10
question
Mathematics, 05.01.2021 03:10
question
Mathematics, 05.01.2021 03:10
question
Mathematics, 05.01.2021 03:10
question
Mathematics, 05.01.2021 03:10
Questions on the website: 13722361