com.twitter.cassovary.algorithms

similarity

package similarity

Visibility
  1. Public
  2. All

Type Members

  1. class CosineSimilarity extends Similarity

    Calculate cosine similarity for a specific graph.

    Calculate cosine similarity for a specific graph. Cosine Similarity of two nodes is the size of their common neighbors divided by the geometric mean of their degrees

  2. class JaccardSimilarity extends Similarity

    Calculate jaccard similarity for a specific graph.

    Calculate jaccard similarity for a specific graph. Jaccard Similarity of two nodes is the size of their common neighbors divided by the size of the union of their neighbors

  3. case class SimilarNodes(nodeId: Int, score: Double) extends Ordered[SimilarNodes] with Product with Serializable

  4. trait Similarity extends AnyRef

    Similarity algorithms are used to analyse the similarity between different nodes of a graph.

Ungrouped