CatgirlIntelligenceAgency/code/functions/index/domain-ranking/readme.md
2024-02-22 17:31:25 +01:00

1.8 KiB

Domain Ranking

Contains domain ranking algorithms. The domain ranking algorithms are based on the JGraphT library.

Two principal algorithms are available, the standard PageRank algorithm, and personalized pagerank; each are available for two graphs, the link graph and a similarity graph where each edge corresponds to the similarity between the sets of incident links to two domains, their cosine similarity acting as the weight of the links.

With the standard PageRank algorithm, the similarity graph does not produce anything useful, but something magical happens when you apply Personalized PageRank to this graph. It turns into a very good "vibe"-sensitive ranking algorithm.

It's unclear if this is a well known result, but it's a very interesting one for creating a ranking algorithm that is focused on a particular segment of the web.

Central Classes

  • PageRankDomainRanker - Ranks domains using the PageRank or Personalized PageRank algorithm depending on whether a list of influence domains is provided.

Data sources

Note that the similarity graph needs to be precomputed and stored in the database for the similarity graph source to be available.

See Also

Useful Resources