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.
This exercise is part of the course
Predictive Analytics using Networked Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Compute the default PageRank score
V(network)$pr_0.85 <- page.rank(___)$vector