Research Article
Tibetan Weibo User Group Division Based on Semantic Information in the Era of Big Data
Algorithm 5
Network construction based on user semantics.
Input:Weibo user data set: User_DataSet | Output:Network adjacency matrix of user semantics: User_Semantic_Matrix | 1: for allusers, do | 2: get User_Sematic_Similatrity B1 by formula (7) | 3: get User_Content_Sematic_Similatrity B2 by formula (9): | 4: get User_Repost_Sematic_Similatrity B3 by formula (10): | 5: get User_Like_Sematic_Similatrity B4 by formula (11): | 6: end for | 7: get node weight set W by Algorithm 3 | 8: for allB, w, , do | 9: get User_Semantic_Matrix from S by formula (12) | 10: end for | 11: returnUser_Semantic_Matrix |
|