Extract PageRank features
In this exercise, you will compute a few PageRank scores and add them as features to the network.
When personalizing, use the prior churners in the network as the restart vector. That is, include the argument
personalized = V(network)$Churn
.
The default damping value is 0.85.
Este exercício faz parte do curso
Predictive Analytics using Networked Data in R
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Compute the default PageRank score
V(network)$pr_0.85 <- page.rank(___)$vector