Question: k-nn algorithms Customer Age Credit Cards Time left 1:15:46 Approved James 35 3 No Roy 42 2 Yes 63 1 No Haley Tommy 59 1

k-nn algorithms
Customer Age Credit Cards Time left 1:15:46 Approved James 35 3 No Roy 42 2 Yes 63 1 No Haley Tommy 59 1 No Nina 30 4 Yes Mary 45 2 ? Consider the training examples shown in the table for a binary classification problem. By applying the KNN algorithm with k=3, what would be the Approved class of Mary if she is at age 45 and has 2 credit cards? Use the Euclidean distance as a distance function: Euclidean Distance d(p, q) = d(q.p) = (91- p.)2 + (92 - P2)? + +(9m - P.)? n (9.- p.) IMPORTANT: 1. To the below box write ONLY the class name for Mary. 2. Do all your work at a paper and upload the photo of this paper from the file upload part under the question. Write your student ID, name and your signature on the paper. If you don't send this paper you WILL NOT GET ANY CREDIT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
