Question: PLEASE PROVIDE CODES NEED HELP We observed 10 samples of the products. The column A-Care the attributes of the 10 products, and the column D

PLEASE PROVIDE CODES NEED HELP
We observed 10 samples of the products. The column A-Care the attributes of the 10 products, and the column D is the category of the products. Length PctPos Pct Neg Category 1.66 0.84 0.28 C 1.62 0.86 0.25 A 2.04 0.7 0.23 B 1.68 0.78 0.03 A 1.62 0.76 0.95 A 1.68 0.88 0.02 A 2.08 0.66 0.29 B 1.82 0.66 0.58 C 2.06 0.68 0.53 B 0.64 0.41 C Now we have a new product, with the following stats: Length: 1.5 PctPos: 0.5 PctNeg: 0.5 Please use KNN to classify this new prodcut. Please use K = 3 (3 nearest neighbors). 1.8 We observed 10 samples of the products. The column A-Care the attributes of the 10 products, and the column D is the category of the products. Length PctPos Pct Neg Category 1.66 0.84 0.28 C 1.62 0.86 0.25 A 2.04 0.7 0.23 B 1.68 0.78 0.03 A 1.62 0.76 0.95 A 1.68 0.88 0.02 A 2.08 0.66 0.29 B 1.82 0.66 0.58 C 2.06 0.68 0.53 B 0.64 0.41 C Now we have a new product, with the following stats: Length: 1.5 PctPos: 0.5 PctNeg: 0.5 Please use KNN to classify this new prodcut. Please use K = 3 (3 nearest neighbors). 1.8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
