Package smile.math.matrix
Class PageRank
java.lang.Object
smile.math.matrix.PageRank
PageRank is a link analysis algorithm, and it assigns a numerical weighting
to each element of a hyperlinked set of documents, such as the World Wide
Web, with the purpose of "measuring" its relative importance within the
set. The algorithm may be applied to any collection of entities with
reciprocal quotations and references.
PageRank can be computed either iteratively or algebraically. The iterative method can be viewed as the power iteration method.
-
Method Summary
-
Method Details
-
of
Calculates the page rank vector.- Parameters:
A
- the matrix supporting matrix vector multiplication operation.- Returns:
- the page rank vector.
-
of
Calculates the page rank vector.- Parameters:
A
- the matrix supporting matrix vector multiplication operation.v
- the teleportation vector.- Returns:
- the page rank vector.
-
of
Calculates the page rank vector.- Parameters:
A
- the matrix supporting matrix vector multiplication operation.v
- the teleportation vector.damping
- the damper factor.tol
- the desired convergence tolerance.maxIter
- the maximum number of iterations in case that the algorithm does not converge.- Returns:
- the page rank vector.
-