Research Article

Research on Information Leakage Tracking Algorithms in Online Social Networks

Table 1

Similarity calculation method.

CalculationFormulaDescription

Simple comparisonS(ui, uj) = 1, if x=y
0, if x≠
x and y are the attributes of user ui and uj, respectively
Interval ratioS(ui, uj) = 1-|x-y|/NN can be max(|x-y) or manually set
Jaccard coefficientJ(ui, uj) = A(ui) and A(uj) are the attribute sets of user ui and uj, respectively
Cosine similarityCos(ui, uj) = The vectors V(ui) and V(uj) are the attributes of user ui and uj, respectively
Pearson coefficientP(ui,uj) = xk and yk represent different attributes of user ui and uj, respectively