Dynamic PageRank

Instead of taking a defined number of iterations as an input, dynamic PageRank requires users to provides a tolerance value (double). The number of iterations in this case is dynamic as ranks will keep on calculating until the rank value is changing more than the specified tolerance value. Here is the signature of the method:

pageRank(double tol, double resetProb)   

Thus dynamic PageRank can be executed as follows:

graph.ops().pageRank(0.00001,0.20)   

As per the preceding example, dynamic PageRank will keep on running until the change in the rank value is more than 0.00001.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.244.250