Question: data mining subject i already solve stpe1,2 , so help me to do 3 matrix with 15*15 use one of this function the solution should


Question1 [5 Marks) A Human Resource Department of a company recorded data of seven (7) randomly selected employees as below: Name Salary Hours 9 6 4 7 10 7 11 16 12 Experi- ence 3 2 3 2 4 6 4 2 5 4 Ada Bob Charlie David Ello Fring George Alice John Pablo Richard Michael Leonardo Julia Jennyfer 5 8 5 3 8 15 10 4 8 15 5 4 2 7 16 9 15 11 13 15 3 6 5 5 7 8 1) Draw the boxplot of the variable "Hours". [1.5 Marks) 2) Which graph could show if Salary and Experience are correlated? Draw it and answer to the question: is there correlation between Salary and Experience? Explain. [1.5 Marks) 3) Create the distance matrix: choose a method and justify your choice. Who are the employees the most similar? [2 Marks) Note: write all calculations steps. Special Cases of Minkowski Distance . h= 1: Manhattan (city block, 4, norm) distance - E.g., the Hamming distance: the number of bits that are different between two binary vectors di J+x;-*;l+l*-*; +...+\x;;-*j; h= 2: (12 norm) Euclidean distance dij)= (x -x + x -x +...+x -x ) EM h-> "supremum" (L max norm, L., norm) distance. . This is the maximum difference between any component (attribute) of the vectors + d(i, j) = lim lais - xjs!" max \xis - x;s Hay - h 54 Exercise 12 Create a term by document matrix for the following documents (only consider green terms) Di: I like to eat red apples D2: Red apples are sweet . D3: Apple computers are casy to use . Find the distance cosine similarity between . Di and D2 . DI and D3 Exercise 12 Cowake a form by daw materia for the fold Demare DI DZ D3 Find the distance eosine similarity between Dide DIDI Exercise 12 Cicakatem by dentris for the following comes DET D2Releet is a lots - - D2 . . . . . DO Fete distance cosine similarity between SI-123- 1+1+1 Bide Did
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
