Given a TypedPipe of edges, and a predicate for a smaller group (smallpred) of nodes and a bigger group (bigpred), compute the similarity between each item in the two sets The Edge.from nodes in the result will all satisfy smallpred, and the Edge.to will all satisfy bigpred.
Given a TypedPipe of edges, and a predicate for a smaller group (smallpred) of nodes and a bigger group (bigpred), compute the similarity between each item in the two sets The Edge.from nodes in the result will all satisfy smallpred, and the Edge.to will all satisfy bigpred. It is more efficient if you keep the smallpred set smaller.
Params: minCos: the minimum cosine similarity you care about accuracy for delta: the error on the approximated cosine (e.g. 0.05 = 5%) boundedProb: the probability we have larger than delta error see: http://arxiv.org/pdf/1206.2082v2.pdf for more details