BaşlayınÜcretsiz Başlayın

Personalized PageRank

In this exercise, you will study the difference between the PageRank and the personalized PageRank algorithms. You can use the function boxplots, which shows the score distributions of churners and non-churners with two separate boxplots. The function has two arguments:

  • damping, indicating the value of the damping factor. The default value is set to 0.85.
  • personalized, a Boolean parameter that indicates whether the personalized PageRank algorithm should be used. When TRUE, the restart vector has 1 for the churners in the network and 0 for the non-churners. The default value is FALSE, i.e. not personalized.

Bu egzersiz

Predictive Analytics using Networked Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Apply the function boxplots to see the distribution of the standard PageRank scores with damping factor 0.85.
  • Apply the function boxplots to see the distribution of the personalized PageRank scores with damping factor 0.85.
  • Apply the function boxplots to see the distribution of the standard PageRank scores with damping factor 0.2.
  • Apply the function boxplots to see the distribution of the personalized PageRank scores with damping factor 0.99.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Look at the distribution of standard PageRank scores
boxplots(damping = ___)

# Inspect the distribution of personalized PageRank scores
boxplots(damping = ___, personalized = ___)

# Look at the standard PageRank with damping factor 0.2
boxplots(damping = ___)

# Inspect the personalized PageRank scores with a damping factor 0.99
boxplots(___, ___)
Kodu Düzenle ve Çalıştır