Research Article

Personalized Recommendation in Interactive Visual Analysis of Stacked Graphs

Algorithm 2

Compute preferences for attributes.
procedure ATTPREF( { P R F 𝑣 } )
 for 𝑥 = 1 to | 𝛼 |   do  // preferences for textual attributes
  calculate P R F 𝛼 𝑥
 end for
 for 𝑥 = 1 to | 𝛽 |   do  // preferences for numerical
attributes
  calculate P R F 𝛽 𝑥
 end for
 return   { P R F 𝛼 } ; { P R F 𝛽 }   // two sets: textual attribute
 preferences, and numerical-attribute preferences
end procedure