Question: 6. KNN (20 points) Table 5 is a gene expression microarray data, where each row represents a for a person, each column represents a gene,
6. KNN (20 points) Table 5 is a gene expression microarray data, where each row represents a for a person, each column represents a gene, and each entry represents gene expression value of a gene over a sample. The output of each sample indicates whether a specific disease exists in this sample. Pleas use Euclidean Distance- Weighted KNN (K-3) to prediet the output of the sample 11 and sample 12. G7 Output 10 2352 3 2623 5.2 1.2 5.3 2.0 3.6 1.5 No 9.5 24 5.3 1.6 5.1 3.6 2.6 1.7 28 3.4 Yes 18 4.2 3.6 7.2 422.46.2 3.5 1.3 1.5 1.8 2.9 2.5 3.3 Yes Table 5: Gene expression data Sample G1 G2 2.1 12 24 2334 3823 5.7 527 564 1 5 1 2 34 GSTTT G52 35 328-1 5376 -1 4952 G33 10052-9-1 g 12351 114 2. 0 1|2 3 4 5 6 7 8 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
