category
ranker_common
Shared predicates for ranker score access, diagnostics, and export.
logtalk_load(ranking_protocols(loader))staticPublic predicates
(no local declarations; see entity ancestors if any)
Protected predicates
ranker_scores_data/2
Hook predicate that importing ranker implementations must define in order to expose the learned item-score pairs on the ranker native numeric scale.
staticranker_scores_data(Ranker,Scores)ranker_scores_data(+compound,-list(pair)) - oneranker_diagnostics_data/2
Hook predicate that importing ranker implementations must define in order to expose diagnostics metadata.
staticranker_diagnostics_data(Ranker,Diagnostics)ranker_diagnostics_data(+compound,-list(compound)) - oneranker_export_template/4
Hook predicate that importing ranker implementations must define in order to expose the exported ranker template for a given functor.
staticranker_export_template(Dataset,Ranker,Functor,Template)ranker_export_template(+object_identifier,+compound,+atom,-callable) - oneranker_term_template/2
Hook predicate that importing ranker implementations must define in order to expose the learned ranker term template used by pretty-printing helpers.
staticranker_term_template(Ranker,Template)ranker_term_template(+compound,-callable) - oneprint_ranker_template/1
Pretty-printing helper predicate used by importing ranker implementations to show the learned ranker term template.
staticprint_ranker_template(Ranker)print_ranker_template(+compound) - onevalid_ranker_metadata/2
True when the diagnostics list contains the expected model identifier, a valid effective options list, and a structurally valid dataset summary.
staticvalid_ranker_metadata(Model,Diagnostics)valid_ranker_metadata(+atom,+list(compound)) - zero_or_onevalid_item_value_pairs/2
True when the second argument is an ordered list of unique Item-Value pairs aligned with the first argument item list.
staticvalid_item_value_pairs(Items,Pairs)valid_item_value_pairs(+list,+list(pair)) - zero_or_onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)