protocol
item_content_dataset_protocol
Protocol for item catalogs with feature occurrences or preweighted sparse content vectors.
Availability:
logtalk_load(recommender_protocols(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-10-04
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
item/1
Enumerates distinct instantiated atomic catalog identifiers, including items with no ratings.
Compilation flags:
staticTemplate:
item(Item)Mode and number of proofs:
item(-atomic) - zero_or_moreitem_content/2
Enumerates exactly one content descriptor for each catalog item. Descriptors are features(Occurrences) with ground feature occurrences or vector(Pairs) with unique ground feature keys and finite nonnegative weights. Empty lists are allowed. All items use the same descriptor kind.
Compilation flags:
staticTemplate:
item_content(Item,Content)Mode and number of proofs:
item_content(-atomic,-compound) - zero_or_moreitem_content(+atomic,-compound) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)
See also