• Tidak ada hasil yang ditemukan

What is the spectral gap ofM

N/A
N/A
Protected

Academic year: 2024

Membagikan "What is the spectral gap ofM"

Copied!
2
0
0

Teks penuh

(1)

NPTEL MOOC: Algorithms for Big Data July — Sept, 2016

Assignment for Week 7 Total Marks: 20

Name: Roll No.:

Question: 1 2 3 4 5 6 7 8 9 10 Total

Marks: 2 2 2 2 2 2 2 2 2 2 20

Score:

1. (2 marks) Consider a simple non-bipartite 4-regular graph whose normalized adjacency matrix is M. Let the eigen values ofM be 1,0.5,0.4,0.2, . . . ,−0.05,−0.1,−0.6. What is the spectral gap ofM?

A. 0 B. .4 C. .5 D. .6

2. (2 marks) Consider a graph G= (V, E), where |V|=n, whose spectral gap is O(n1). What will be the n1c-mixing time of a random walk onG, where c >0 is a positive constant?

A. O(lognn) B. O(n) C. O(nlogn) D. O(n2)

3. (2 marks) When we want to test if a givend-regular graph is bipartite or not using random walks, we must utilize a variation known as a lazy random walk. For what reason do we use this variation?

A. To ensure that the resulting Markov Chain is aperiodic.

B. To ensure that the resulting Markov Chain is irreducible.

C. To ensure that the resulting Markov Chain is finite.

4. (2 marks) When we use random walks to test for bipartiteness, we use a procedure Odd-Cycle to detect if there exist nodes which we can reach in both an even number of steps and an odd number of steps from a given node. Does this count of steps include the number of self-loops traversed or exclude it?

A. Include.

B. Exclude.

C. Depends on the particular scenario.

5. (2 marks) Consider a graph G = (V, E) that is-far from being bipartite. Furthermore, assume that G is rapidly mixing in the sense that random walks reach near-uniform distribution inO(poly(logn)) steps. Consider using the random walks algorithm (discussed in the lecture) to detect bipartiteness. LetPvobe the probability that a random walk terminates atv and the walk length is odd. LetPvebe the probability that a random walk terminates atv and the walk length is even. Consider the statement “P

v∈V

PvePvo is 0”. Is the statement true or false?

A. True.

B. False.

Page 1 of 2

(2)

For questions 6 through 9, assume that the input stream is the following sequence of weighted edges on the vertex set {1,2, . . . ,10}. Each edge is represented by a triple (u, v, w), whereuand vare the two endpoints andw is the weight.

(2,10,8),(9,10,5),(6,10,2),(8,10,9),(5,9,4),(9,8,1),(5,8,16),(4,5,11),(6,5,12), (3,4,12),(2,5,15),(8,7,7),(2,3,6),(1,2,13),(6,2,14),(7,6,17),(3,1,10),(1,7,3).

6. (2 marks) The edges in the spanning tree (not in any particular order) output by the semi-streaming spanning tree algorithm discussed in the lecture is:

A. (1,2),(2,3),(3,4),(4,5),(5,6),(6,7),(7,8),(8,9),(9,10) B. (2,10),(10,9),(6,10),(5,9),(4,5),(8,9),(7,8),(1,7),(1,3) C. (2,10),(10,9),(10,6),(5,9),(6,7),(7,9),(1,2),(1,3),(3,4) D. (1,2),(2,10),(3,4),(4,5),(5,9),(6,10),(7,8),(8,10),(9,10)

7. (2 marks) The edges in the minimum spanning tree (not in any particular order) output by the semi-streaming minimum spanning tree algorithm discussed in the lecture is:

A. (1,2),(2,3),(3,4),(4,5),(5,6),(6,7),(7,8),(8,9),(9,10) B. (2,10),(10,9),(6,10),(5,9),(4,5),(8,9),(7,8),(1,7),(1,3) C. (2,10),(10,9),(10,6),(5,9),(6,7),(7,9),(1,2),(1,3),(3,4) D. (1,2),(2,10),(3,4),(4,5),(5,9),(6,10),(7,8),(8,10),(9,10)

8. (2 marks) The edges in the matching (not in any particular order) output by the semi-streaming (approx) maximum cardinality matching algorithm discussed in the lecture is:

A. (3,4),(7,8),(2,10),(5,9) B. (8,7),(2,6),(1,3),(5,4),(9,10) C. (1,2),(3,4),(6,7),(5,8),(2,10) D. (2,1),(5,6),(4,3),(10,9),(7,8)

9. (2 marks) The edges in the matching (not in any particular order) output by the semi-streaming (approx) maximum weight matching algorithm discussed in the lecture (with parameterγ= 2) is:

A. (3,4),(7,8),(2,10),(5,9) B. (8,7),(2,6),(1,3),(5,4),(9,10) C. (1,2),(3,4),(6,7),(5,8),(2,10) D. (2,1),(5,6),(4,3),(10,9),(7,8)

10. (2 marks) Consider the following two graphsGandH, both on the vertex set{1,2,3}. GraphGhas all three edges, each with weight 1. GraphH only has edges{1,2}and{2,3}, each with weight 0.75. IfH is a (1 +α) sparsification ofG, then we call (1 +α) as the sparsification factor ofH with respect toG. Which of the following is the smallest correct sparsification factor ofH with respect toG?

A. 1.25 B. 1.5 C. 1.75 D. 2

Name: Roll No.: Page 2 of 2

Referensi

Dokumen terkait

Taking any opportunity to regroup is even the smallest thing, like listening to some soothing music, or relaxing in a warm bathtub will help your mind relax and

Similarly, students attending the University of Phoenix in New York have remarked that the quality of their education degrees was quite strong relative to the experiences of

Simply put, the Goof Troupe is an organization that teaches people to lose weight and improve their health while still enjoying the ˆfiner˜ things in life. You know, like pasta,

The geometric distribution can be used to model the number of quantum integers we need to generate in the larger interval to obtain one quantum random integer in [low,high]: we consider

The study found that the re-sults in general are matching with the economic theory, as in the short and long term, the rate of inflation is associated with an inverse relationship

Once parchment deeds came to stand in for the more embodied memory rituals discussed above, it involved solicitors undertaking the time-consuming and cumbersome task of assembling

In Austria, for example, quotations from musical works such as the Kookaburra extract are permitted, but there is an express requirement protecting the author’s personality rights in

WORDS TO DESIGNATE FAMILY RELATIONSHIPS IN JAPANESE Another interesting phenomenon of Japanese is the way which the family hierarchy is expressed in the words designating family