4. (Note: this is a hand computing question). Given the following dataset of Height in centimeters...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
4. (Note: this is a hand computing question). Given the following dataset of Height in centimeters and Weight in kilograms: Name Clarissa Maurice Jean Mary Xien Jeff Ana Betsy Rachid Weight 51 Name Paul 62 69 64 65 56 58 57 55 Weight 57 Height 170 182 176 173 172 174 b. (10pts) Repeat a. with k-5. 173 169 170 Recall Manhattan distance is D(A, B)= x1-x2|+|y-y2| if A=(x,y) and B=(x2y2) a. (40pts) Using KNN algorithm with k-3 and Manhattan distance predict the class of Paul with the following characteristics: Class Underweight Normal Height 170 Normal Normal Normal Underweight Underweight Normal Normal Class ? 4. (Note: this is a hand computing question). Given the following dataset of Height in centimeters and Weight in kilograms: Name Clarissa Maurice Jean Mary Xien Jeff Ana Betsy Rachid Weight 51 Name Paul 62 69 64 65 56 58 57 55 Weight 57 Height 170 182 176 173 172 174 b. (10pts) Repeat a. with k-5. 173 169 170 Recall Manhattan distance is D(A, B)= x1-x2|+|y-y2| if A=(x,y) and B=(x2y2) a. (40pts) Using KNN algorithm with k-3 and Manhattan distance predict the class of Paul with the following characteristics: Class Underweight Normal Height 170 Normal Normal Normal Underweight Underweight Normal Normal Class ?
Expert Answer:
Answer rating: 100% (QA)
To predict the class of Paul using the kNN algorithm with k3 and Manhattan distance we need to calcu... View the full answer
Related Book For
Introductory Statistics Exploring The World Through Data
ISBN: 9780321978271
2nd Edition
Authors: Robert Gould, Colleen Ryan
Posted Date:
Students also viewed these programming questions
-
What are some important properties of language? What is the difference between phonemes and morphemes? What is semantics? What is coarticulation, and why is it important? What does the view of...
-
(10 points) Given that ry + xy = 1. 1. Find a solution of the differential equation that satisfies the initial condition y(1) = 10. Answer: y = 2. Find a solution of the differential equation that...
-
The table shows the heights and weights of some people. The scatterplot shows that the association is linear enough to proceed. Height (inches) Weight (pounds) 60 ..............105 66...
-
Find the volumes of the solids in Problems 4952 correct to the nearest unit. 4 cm -6 cm 8 cm
-
A proton is at rest at the plane vertical boundary of a region containing a uniform vertical magnetic field B. An alpha particle moving horizontally makes a head-on elastic collision with the proton....
-
1. Carolina Company recently discovered that a payroll clerk had issued checks to nonexistent employees for several years and cashed the checks himself. The firm does not have any internal control...
-
Short Clips Pty Ltd produces television advertisements for local businesses. Provided information is as follows. The company is supposed to achieve a 15% profit margin (profit marketing fees) and as...
-
The file lists the calories and sugar, in grams, in one serving of seven breakfast cereals: a. Compute the covariance. b. Compute the coefficient of correlation. c. Which do you think is more...
-
Based in Miramichi, New Brunswick, Abenaki Associates Ltd. has been providing information and computer software technology to First Nation customers for more than thirty years. Abenaki Associates is...
-
The finance director for the City of Green Falls printed the General Fund Revenues and Appropriations Ledgers shown below for the year just ended. The beginning-of-the-year fund balance was $160,160....
-
A propped cantilever is loaded as shown in the figure with a weight suspended at the free end applying a force F-7.2 kN, and a moment M, 16 kNm. The cantilever is modelled using two 1D beam elements....
-
XFood is a meat processing firm. So far, XFood have been using a cost of capital of 12.5%. Recently, a group of engineers from UT developed a new technology for XFood that will enable them to cut...
-
Define and differentiate the various functional areas, departments, or business units of Toyota company. Analyze how these functional areas, departments, or business units work together to achieve...
-
A 14,000-kg bus is moving at 60.0 m/s. Calculate the work needed to slow the bus to a speed of 20.0 m/s
-
The project sponsoris concerned that you have budgeted too much money for the website migration. Now you have to remind him how you accounted for the budget of this project. How did you start? How...
-
How access to resources enables or constrains social action. how wealth creates social responsibility how media consumption creates equity .how governments finance social projects?
-
Malia thinks she and her friends should sell the wristbands for $2.50 each. She sells 4 wristbands on the first day of the fundraiser. a. How can the amount Malia earns be represented as an addition...
-
Solve each equation. x 3 - 6x 2 = -8x
-
Figure A shows a scatterplot of the price and age of a random sample of used BMW cars and includes the regression line. Figure B shows a residual plot based on the regression line. a. Is the linear...
-
The graph shows shoe sizes for men and women. Compare shapes, centers, and spreads, and mention if there are outliers. 5 6 7 8 9 10 11 12 Shoe Sizes of Men 9 9 9 16 2 12 5 6 7 8 9 10 1 12 Shoe Sizes...
-
The table shows Minitab descriptive statistics for the weight of some women (weight_f) and men (weight_m), and the self-reported ideal weights for both. a. Subtract the womens mean weight from their...
-
(a) While the capacitor of Figure 30.4 is being charged, is the current through the wire leading to or from the capacitor zero or nonzero? Is the electric field between the plates zero or nonzero? Is...
-
Estimate the final speed \(v\) of the charged particle in Figure 30.8 in terms of the speed of propagation \(c\) of the electromagnetic wave pulse produced by the particle's acceleration. Figure 30.8...
-
(a) If Figure 30.14 shows the oscillating electric field pattern at its actual size, estimate the wavelength of the electromagnetic wave. \((b)\) If the wave is traveling at speed \(c=3 \times 10^{8}...
Study smarter with the SolutionInn App