Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following training data that includes a set of ages and a binary variable y that indicates the presence of heart disease: x =

Consider the following training data that includes a set of ages and a binary variable y that indicates the presence of heart disease: x = (68, 78, 70, 67, 66, 59), y=(1, 1, 1, 0, 0, 0)

a. Use k-NN with k=3 to classify the point x=72.

b. Classify the same point using LDA.

Step by Step Solution

3.33 Rating (141 Votes )

There are 3 Steps involved in it

Step: 1

k Nearest Neighbours in excel K Nearest neighbor method Calculate the absolute distance of each obse... 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

Step: 3

blur-text-image

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

Probability And Statistical Inference

Authors: Robert V. Hogg, Elliot Tanis, Dale Zimmerman

9th Edition

321923278, 978-0321923271

More Books

Students also viewed these General Management questions

Question

Explain why it is not wise to accept a null hypothesis.

Answered: 1 week ago