This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function [l v] = grasshopper(W, r, lambda, k) | |
| % | |
| % Reranking items by random walk on graph with absorbing states. | |
| % (CREDIT: Jerry Zhu jerryzhu@cs.wisc.edu) | |
| % | |
| % INPUT | |
| % | |
| % W: n*n weight matrix with non-negative entries. | |
| % W(i,j) = edge weight for the edge i->j | |
| % The graph can be directed or undirected. Self-edges are allowed. |
OlderNewer