category
pattern_miner_common
Shared predicates for pattern miner diagnostics, defaults, option handling, and export helpers.
logtalk_load(pattern_mining_protocols(loader))staticPublic predicates
(no local declarations; see entity ancestors if any)
Protected predicates
pattern_miner_diagnostics_data/2
Hook predicate that importing pattern miner implementations must define in order to expose diagnostics metadata.
staticpattern_miner_diagnostics_data(PatternMiner,Diagnostics)pattern_miner_diagnostics_data(+compound,-list(compound)) - onepattern_miner_diagnostics/6
Builds a standard diagnostics list from generic pattern miner metadata and algorithm-specific diagnostics terms.
staticpattern_miner_diagnostics(Model,ItemDomain,Patterns,Options,SpecificDiagnostics,Diagnostics)pattern_miner_diagnostics(+atom,+list(atom),+list(compound),+list(compound),+list(compound),-list(compound)) - onepattern_miner_export_template/4
Hook predicate that importing pattern miner implementations must define in order to expose the exported pattern miner template for a given functor.
staticpattern_miner_export_template(Dataset,PatternMiner,Functor,Template)pattern_miner_export_template(+object_identifier,+compound,+atom,-callable) - onevalid_pattern_miner_metadata/5
True when the diagnostics list matches the generic pattern miner metadata implied by the model, item domain, mined patterns, and effective options.
staticvalid_pattern_miner_metadata(Model,ItemDomain,Patterns,Options,Diagnostics)valid_pattern_miner_metadata(+atom,+list(atom),+list(compound),+list(compound),+list(compound)) - zero_or_onecheck_item_domain/1
Validates that the declared item domain is canonical and contains only atoms.
staticcheck_item_domain(ItemDomain)check_item_domain(+list(atom)) - oneeffective_support_count/3
Computes the effective minimum support count from the effective options and the dataset size.
staticeffective_support_count(DatasetSize,Options,SupportCount)effective_support_count(+integer,+list(compound),-integer) - oneeffective_maximum_pattern_length/3
Computes the effective maximum pattern length from the effective options and the dataset maximum pattern length.
staticeffective_maximum_pattern_length(DatasetMaximumPatternLength,Options,MaximumPatternLength)effective_maximum_pattern_length(+integer,+list(compound),-integer) - onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)