category
ranking_dataset_common
Shared predicates for collecting, analyzing, and validating ranking datasets.
logtalk_load(ranking_protocols(loader))staticPublic predicates
pairwise_dataset_declared_items/2
Collects the pairwise dataset declared items preserving declaration order.
staticpairwise_dataset_declared_items(Dataset,Items)pairwise_dataset_declared_items(+object_identifier,-list) - onepairwise_dataset_items/2
Collects the unique pairwise dataset items preserving their first declaration order.
staticpairwise_dataset_items(Dataset,Items)pairwise_dataset_items(+object_identifier,-list) - onepairwise_dataset_preferences/2
Collects the pairwise dataset preferences as p(Winner,Loser,Weight) terms.
staticpairwise_dataset_preferences(Dataset,Preferences)pairwise_dataset_preferences(+object_identifier,-list) - onepairwise_dataset_connected_components/2
Returns the connected components induced by the pairwise preference graph.
staticpairwise_dataset_connected_components(Dataset,Components)pairwise_dataset_connected_components(+object_identifier,-list(list)) - onepairwise_dataset_summary/2
Returns a summary of a pairwise dataset, including item, preference, component, and isolated-item counts.
staticpairwise_dataset_summary(Dataset,Summary)pairwise_dataset_summary(+object_identifier,-list(compound)) - onepairwise_dataset_win_totals/2
Returns per-item total win weights for a pairwise dataset.
staticpairwise_dataset_win_totals(Dataset,Totals)pairwise_dataset_win_totals(+object_identifier,-list(pair)) - onepairwise_dataset_matchups/2
Returns aggregated pairwise matchups as matchup(Item1,Item2,Item1Wins,Item2Wins) terms preserving item declaration order inside each pair.
staticpairwise_dataset_matchups(Dataset,Matchups)pairwise_dataset_matchups(+object_identifier,-list(compound)) - onepairwise_measurement_dataset_declared_items/2
Collects the pairwise measurement dataset declared items preserving declaration order.
staticpairwise_measurement_dataset_declared_items(Dataset,Items)pairwise_measurement_dataset_declared_items(+object_identifier,-list) - onepairwise_measurement_dataset_items/2
Collects the unique pairwise measurement dataset items preserving their first declaration order.
staticpairwise_measurement_dataset_items(Dataset,Items)pairwise_measurement_dataset_items(+object_identifier,-list) - onepairwise_measurement_dataset_measurements/2
Collects the pairwise measurement dataset observations as m(Item1,Item2,Value,Weight) terms preserving enumeration order.
staticpairwise_measurement_dataset_measurements(Dataset,Measurements)pairwise_measurement_dataset_measurements(+object_identifier,-list(compound)) - onepairwise_measurement_dataset_connected_components/2
Returns the connected components induced by the pairwise measurement support graph.
staticpairwise_measurement_dataset_connected_components(Dataset,Components)pairwise_measurement_dataset_connected_components(+object_identifier,-list(list)) - onepairwise_measurement_dataset_summary/2
Returns a summary of a pairwise measurement dataset, including item, measurement, component, and isolated-item counts.
staticpairwise_measurement_dataset_summary(Dataset,Summary)pairwise_measurement_dataset_summary(+object_identifier,-list(compound)) - onetemporal_pairwise_dataset_declared_items/2
Collects the temporal pairwise dataset declared items preserving declaration order.
statictemporal_pairwise_dataset_declared_items(Dataset,Items)temporal_pairwise_dataset_declared_items(+object_identifier,-list) - onetemporal_pairwise_dataset_items/2
Collects the unique temporal pairwise dataset items preserving their first declaration order.
statictemporal_pairwise_dataset_items(Dataset,Items)temporal_pairwise_dataset_items(+object_identifier,-list) - onetemporal_pairwise_dataset_periods/2
Collects the unique temporal pairwise dataset periods preserving their first declaration order.
statictemporal_pairwise_dataset_periods(Dataset,Periods)temporal_pairwise_dataset_periods(+object_identifier,-list) - onetemporal_pairwise_dataset_games/2
Collects the temporal pairwise dataset games as game(Period,Item1,Item2,Score) terms preserving enumeration order.
statictemporal_pairwise_dataset_games(Dataset,Games)temporal_pairwise_dataset_games(+object_identifier,-list(compound)) - onetemporal_pairwise_dataset_games/3
Collects the temporal pairwise dataset games for a single period as game(Item1,Item2,Score) terms preserving enumeration order.
statictemporal_pairwise_dataset_games(Dataset,Period,Games)temporal_pairwise_dataset_games(+object_identifier,+term,-list(compound)) - onetemporal_pairwise_dataset_connected_components/2
Returns the connected components induced by the temporal pairwise game graph.
statictemporal_pairwise_dataset_connected_components(Dataset,Components)temporal_pairwise_dataset_connected_components(+object_identifier,-list(list)) - onetemporal_pairwise_dataset_summary/2
Returns a summary of a temporal pairwise dataset, including item, period, game, component, and isolated-item counts.
statictemporal_pairwise_dataset_summary(Dataset,Summary)temporal_pairwise_dataset_summary(+object_identifier,-list(compound)) - onegrouped_dataset_groups/2
Collects the unique grouped-dataset groups preserving their first declaration order.
staticgrouped_dataset_groups(Dataset,Groups)grouped_dataset_groups(+object_identifier,-list) - onegrouped_dataset_items/2
Collects the unique items declared across all groups in a grouped dataset preserving their first declaration order.
staticgrouped_dataset_items(Dataset,Items)grouped_dataset_items(+object_identifier,-list) - onegrouped_dataset_items/3
Collects the unique items declared for a grouped-dataset group.
staticgrouped_dataset_items(Dataset,Group,Items)grouped_dataset_items(+object_identifier,+term,-list) - onegrouped_dataset_summary/2
Returns a summary of a grouped dataset, including group, item, and relevance-judgment counts.
staticgrouped_dataset_summary(Dataset,Summary)grouped_dataset_summary(+object_identifier,-list(compound)) - onevalidate_pairwise_dataset/1
Validates a pairwise ranking dataset and throws an error if the dataset is malformed or disconnected.
staticvalidate_pairwise_dataset(Dataset)validate_pairwise_dataset(+object_identifier) - onevalidate_pairwise_dataset/2
Validates a pairwise ranking dataset and returns its dataset summary when validation succeeds.
staticvalidate_pairwise_dataset(Dataset,Summary)validate_pairwise_dataset(+object_identifier,-list(compound)) - onevalidate_pairwise_measurement_dataset/1
Validates a pairwise measurement dataset and throws an error if the dataset is malformed or disconnected.
staticvalidate_pairwise_measurement_dataset(Dataset)validate_pairwise_measurement_dataset(+object_identifier) - onevalidate_pairwise_measurement_dataset/2
Validates a pairwise measurement dataset and returns its dataset summary when validation succeeds.
staticvalidate_pairwise_measurement_dataset(Dataset,Summary)validate_pairwise_measurement_dataset(+object_identifier,-list(compound)) - onevalidate_grouped_dataset/1
Validates a grouped ranking dataset and throws an error if the dataset is malformed.
staticvalidate_grouped_dataset(Dataset)validate_grouped_dataset(+object_identifier) - onevalidate_temporal_pairwise_dataset/1
Validates a temporal pairwise ranking dataset and throws an error if the dataset is malformed or disconnected.
staticvalidate_temporal_pairwise_dataset(Dataset)validate_temporal_pairwise_dataset(+object_identifier) - onevalidate_temporal_pairwise_dataset/2
Validates a temporal pairwise ranking dataset and returns its dataset summary when validation succeeds.
staticvalidate_temporal_pairwise_dataset(Dataset,Summary)validate_temporal_pairwise_dataset(+object_identifier,-list(compound)) - onevalidate_grouped_dataset/2
Validates a grouped ranking dataset and returns its dataset summary when validation succeeds.
staticvalidate_grouped_dataset(Dataset,Summary)validate_grouped_dataset(+object_identifier,-list(compound)) - oneProtected predicates
grouped_dataset_item_relevances/4
Collects the declared items for a grouped-dataset group paired with their relevance values under the given missing-relevance policy.
staticgrouped_dataset_item_relevances(Dataset,Group,MissingRelevance,ItemRelevances)grouped_dataset_item_relevances(+object_identifier,+term,+atom,-list(pair)) - onegrouped_dataset_relevance_frequencies/2
Aggregates grouped item relevances into a relevance-frequency dictionary.
staticgrouped_dataset_relevance_frequencies(ItemRelevances,FrequencyDictionary)grouped_dataset_relevance_frequencies(+list(pair),-compound) - onegrouped_dataset_item_relevance_scores/3
Maps grouped item relevances to per-item score deltas using a relevance-points dictionary.
staticgrouped_dataset_item_relevance_scores(ItemRelevances,PointsDictionary,ItemScores)grouped_dataset_item_relevance_scores(+list(pair),+compound,-list(pair)) - onegrouped_dataset_tie_blocks/4
Collects grouped-dataset item relevances into descending relevance tie blocks represented as tie_block(Relevance, Items) terms, preserving the declaration order of items inside each block.
staticgrouped_dataset_tie_blocks(Dataset,Group,MissingRelevance,TieBlocks)grouped_dataset_tie_blocks(+object_identifier,+term,+atom,-list(compound)) - onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)