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.
本练习是课程的一部分
Predictive Analytics using Networked Data in R
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Compute the default PageRank score
V(network)$pr_0.85 <- page.rank(___)$vector