08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exercise 10.10 Repeat the previous exercise but instead <strong>of</strong> deleting elements, corrupt the<br />

elements by adding a reasonable size corruption to the randomly selected matrix entires.<br />

Exercise 10.11 Compute the Fourier transform <strong>of</strong> the sequence 1000010000.<br />

Exercise 10.12 What is the Fourier transform <strong>of</strong> a Gaussian?<br />

Exercise 10.13 What is the Fourier transform <strong>of</strong> a cyclic shift?<br />

Exercise 10.14 Let S(i, j) be the sequence <strong>of</strong> i blocks each <strong>of</strong> length j where each block<br />

<strong>of</strong> symbols is a 1 followed by i − 1 0’s. The number n=6 is factorable but not a perfect<br />

square. What is Fourier transform <strong>of</strong> S (2, 3)= 100100?<br />

Exercise 10.15 Let Z be the n root <strong>of</strong> unity. Prove that { z bi |0 ≤ i < n } = {z i |0 ≤ i < n}<br />

provide that b does not divide n.<br />

⎛<br />

⎜<br />

⎝<br />

⎞<br />

1 1 · · · 1<br />

a b · · · c<br />

a 2 b 2 · · · c 2<br />

⎟<br />

. . . ⎠<br />

a d b d · · · c d<br />

Show that if the elements in the second row <strong>of</strong> the Vandermonde matrix are distinct, then<br />

the Vandermonde matrix is nonsingular by using the fact that specifying the value <strong>of</strong> an<br />

n th degree polynomial at n + 1 points uniquely determines the polynomial.<br />

Exercise 10.16 Many problems can be formulated as finding x satisfying Ax = b + r<br />

where r is some residual error. Discuss the advantages and disadvantages <strong>of</strong> each <strong>of</strong> the<br />

following three versions <strong>of</strong> the problem.<br />

1. Set r=0 and find x= argmin ‖x‖ 1<br />

satisfying Ax = b<br />

2. Lasso: find x= argmin ( ‖x‖ 1<br />

+ α ‖r‖ 2 2)<br />

satisfying Ax = b<br />

3. find x¯ =argmin ‖x‖ 1<br />

such that ‖r‖ 2<br />

< ε<br />

Exercise 10.17 Create a graph <strong>of</strong> overlapping communities as follows. Let n=1,000.<br />

Partition the integers into ten blocks each <strong>of</strong> size 100. The first block is {1, 2, . . . , 100}.<br />

The second is {100, 101, . . . , 200} , and so on. Add edges to the graph so that the vertices<br />

in each block form a clique. Now randomly permute the indices and partition the sequence<br />

into ten blocks <strong>of</strong> 100 vertices each. Again add edges so that these new blocks are cliques.<br />

Randomly permute the indices a second time and repeat the process <strong>of</strong> adding edges. The<br />

result is a graph in which each vertex is in three cliques. Explain how to find the cliques<br />

given the graph.<br />

352

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!