the probabilistic method
play

The Probabilistic Method Week 10: Applications Joshua Brody - PowerPoint PPT Presentation

The Probabilistic Method Week 10: Applications Joshua Brody CS49/Math59 Fall 2015 Reading Quiz What is the Hamming Distance between two n-bit strings x,y? (A) dist(x,y) = #i such that x i != y i (B) dist(x,y) = sqrt( i |x i - y i |) (C)


  1. The Probabilistic Method Week 10: Applications Joshua Brody CS49/Math59 Fall 2015

  2. Reading Quiz What is the Hamming Distance between two n-bit strings x,y? (A) dist(x,y) = #i such that x i != y i (B) dist(x,y) = sqrt( ∑ i |x i - y i |) (C) dist(x,y) = max i |x i - y i | (D) multiple answers correct (E) none of the above

  3. Reading Quiz What is the Hamming Distance between two n-bit strings x,y? (A) dist(x,y) = #i such that x i != y i (B) dist(x,y) = sqrt( ∑ i |x i - y i |) (C) dist(x,y) = max i |x i - y i | (D) multiple answers correct (E) none of the above

  4. Coding Theory [Shannon 48] 00010101

  5. Coding Theory [Shannon 48] 01001101 Problem: • p -fraction of bits are corrupted • Bob doesn’t know which bits get corrupted.

  6. Coding Theory [Shannon 48] 01001101 How can Alice and Bob reliably Problem: communicate over an unreliable channel? • p -fraction of bits are corrupted • Bob doesn’t know which bits get corrupted.

  7. Error-Correcting Codes 10011

  8. Error-Correcting Codes 10011 0001010101

  9. Error-Correcting Codes 10011 0100110100

  10. Error-Correcting Codes 10011 10011 0100110100

  11. Clicker Question What is the rate and distance of a 5-repetition code? (A) (R, 휹 ) = (1/3, 1/3) (B) (R, 휹 ) = (1/5, 1/5) (C) (R, 휹 ) = (1/5, 1) (D) (R, 휹 ) = (2/5, 1/5) (E) (R, 휹 ) = (1/5, 2/5)

  12. Clicker Question What is the rate and distance of a 5-repetition code? (A) (R, 휹 ) = (1/3, 1/3) (B) (R, 휹 ) = (1/5, 1/5) (C) (R, 휹 ) = (1/5, 1) (D) (R, 휹 ) = (2/5, 1/5) (E) (R, 휹 ) = (1/5, 2/5)

  13. Adjacency Matrix of Magic Graphs a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 31 a 32 a 33 a 34 a 35 a 36 a 37 a 38 a 41 a 42 a 43 a 44 a 45 a 46 a 47 a 48 a 51 a 52 a 53 a 54 a 55 a 56 a 57 a 58 a 61 a 62 a 63 a 64 a 65 a 66 a 67 a 68

  14. Adjacency Matrix of Magic Graphs columns indexed by vertices in L a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 rows indexed by a 31 a 32 a 33 a 34 a 35 a 36 a 37 a 38 vertices in R a 41 a 42 a 43 a 44 a 45 a 46 a 47 a 48 a 51 a 52 a 53 a 54 a 55 a 56 a 57 a 58 a 61 a 62 a 63 a 64 a 65 a 66 a 67 a 68

  15. Adjacency Matrix of Magic Graphs columns indexed a ij = 1 iff (v j , r i ) is by vertices in L edge in magic graph a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 rows indexed by a 31 a 32 a 33 a 34 a 35 a 36 a 37 a 38 vertices in R a 41 a 42 a 43 a 44 a 45 a 46 a 47 a 48 a 51 a 52 a 53 a 54 a 55 a 56 a 57 a 58 a 61 a 62 a 63 a 64 a 65 a 66 a 67 a 68

  16. Magic Graph Matrix Multiplication a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 a 31 a 32 a 33 a 34 a 35 a 36 a 37 a 38 a 41 a 42 a 43 a 44 a 45 a 46 a 47 a 48 a 51 a 52 a 53 a 54 a 55 a 56 a 57 a 58 a 61 a 62 a 63 a 64 a 65 a 66 a 67 a 68

  17. Magic Graph Matrix Multiplication a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 x 1 y 1 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 x 2 y 2 = a 31 a 32 a 33 a 34 a 35 a 36 a 37 a 38 x 3 y 3 * a 41 a 42 a 43 a 44 a 45 a 46 a 47 a 48 x 4 y 4 a 51 a 52 a 53 a 54 a 55 a 56 a 57 a 58 x 5 y 5 a 61 a 62 a 63 a 64 a 65 a 66 a 67 a 68 x 6 y 6 x 7 x 8

  18. Magic Graph Matrix Multiplication a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 18 x 1 y 1 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 28 x 2 y 2 = a 31 a 32 a 33 a 34 a 35 a 36 a 37 a 38 x 3 y 3 * a 41 a 42 a 43 a 44 a 45 a 46 a 47 a 48 x 4 y 4 a 51 a 52 a 53 a 54 a 55 a 56 a 57 a 58 x 5 y 5 a 61 a 62 a 63 a 64 a 65 a 66 a 67 a 68 x 6 y 6 x 7 y i = ∑ a ik * x k x 8 k

  19. The Probabilistic Method

Recommend


More recommend