Case study example of a graph model in R
Let’s learn to build a GCM in R using a toy social_media_data
dataset, which you can download from the Git repository. It contains simulated social media user interactions and demographics. Here are the columns in the data:
userA
: A unique identifier for a social media user (presumably the influencer or content creator).userB
: A unique identifier for another user (a follower or another influencer).num_post_likes
: The number of likes a post has received.num_post_commented
: The number of comments a post has received.interests
: The categories of shared interests thatuserB
anduserA
might have, such as art, design, technology, and so on.follows
: A Boolean indicating whetheruserB
followsuserA
.hours_active_perday
: The number of hours per dayuserB
is active on social media.probability_to_like
: The likelihood thatuserB
will like a post, expressed as a probability.probability_to_comment
: The...