cegme / grisham

We are looking at ways of modeling paper and user preferences.
2 stars 3 forks source link

Keyword search does not include user topics #1

Open cegme opened 12 years ago

cegme commented 12 years ago

Keyword search does not include user topics.

The keyword search should include the user preferences specified by the User Model.

cegme commented 12 years ago

We can create a function keyword_rank that takes the user option array and compares all the results of the keyword search to provide a ranking. We can add this to the web/query.php function.

Here is some pseudocode:

double keyword_rank (int[] user_options. int[] topic_distribution) { return kl(user_options, topic_distribution); }

So this computes the kl divergence between the given over_options array and the paper topic distribution.