Nike company have a test contains missing values The entries
     Nike company have a test contains missing values. The entries in the matrix are the expression values of genes (rows) under different experimental conditions (columns). Please use the KNN impute algorithm (K = 2) to fill the missing values (?_1, M_2, M_3) (Please use Euclidean distance and Manhattan distance to calculate distance among genes separately and compare the result).   
  
  Solution
G1-1.0, 0.7, 0.3, m1, 3.0, 1.5
G2-1.2, 1.0, 1.2, m2, 4.0, 3.0
G3-3.4, 2,2 ,m3, 1.2, 2.0, 1.5
G4 -0.9, 2,5, 3.0, 0.5, 1.0, 1.0
G5-1.0, 0.5, 0.5, 0.4, 2.9 ,1.8
m1 value can be 1.5
m2 vale can be 3.8
m3 value can be 4.5 by comaprinf eucladian and manhattan distance seperately.
where eucladian distance can be calculated by ((x2-x1)2-(y2-y1)2
where manhattan distance can be claculated by:|x2-x1|+|y1-y2|

