Simple network features
In this exercise, you will extract simple network features from the churn network and add them to the network object as node attributes.
The igraph object called network with the node attribute Churn, indicating customers who have already churned, has been pre-loaded.
The igraph library has also been loaded for you.
本练习是课程的一部分
Predictive Analytics using Networked Data in R
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Extract network degree
V(network)$___ <- ___(network, normalized=TRUE)