File "lib/accurator/recommendation/strategy_random.pl"[download]
in pack: | accurator |
---|---|
Prolog module: | strategy_random |
size: | 3853 |
Recent changes
9 years ago | Chris Dijkshoorn | Added random strategy, ranking based on number ... |
9 years ago | Chris Dijkshoorn | Made retrieval from random bins more robust. |
9 years ago | Chris Dijkshoorn | Basing ranked random strategy on number of ann ... |
9 years ago | Chris Dijkshoorn | Added modules used by ranked random. |
9 years ago | Chris Dijkshoorn | Ranked random algorithm completed except for n ... |
This file requires
- From packages
- accurator_user.pl: get_annotated_user/2
- annotation.pl: number_of_annotations/2, number_of_users/2
- From the Prolog library
- library(apply) resolved by
- apply.pl: maplist/3
- library(lists) resolved by
- lists.pl: delete/3, nth0/4, subtract/3
- library(option) resolved by
- option.pl: option/2
- library(pairs) resolved by
- pairs.pl: group_pairs_by_key/2
- library(random) resolved by
- random.pl: random_between/3, random_member/2
- library(semweb/rdf_db) resolved by
- rdf_db.pl: rdf/3
- library(apply) resolved by
Exported predicates
- random_from_bin/3
- strategy_random/2
- strategy_ranked_random/2
- strategy_user_ranked_random/2
Required predicates
- delete/3 from library(lists)
- get_annotated_user/2 from accurator_user.pl
- group_pairs_by_key/2 from library(pairs)
- maplist/3 from library(apply)
- nth0/4 from library(lists)
- number_of_annotations/2 from annotation.pl
- number_of_users/2 from annotation.pl
- option/2 from library(option)
- random_between/3 from library(random)
- random_member/2 from library(random)
- rdf/3 from library(semweb/rdf_db)
- subtract/3 from library(lists)