protocol
pattern_miner_protocol
Protocol for machine learning pattern-mining algorithms.
logtalk_load(pattern_mining_protocols(loader))staticPublic predicates
mine/3
Mines a pattern miner result from the given dataset object using the specified options.
staticmine(Dataset,PatternMiner,Options)mine(+object_identifier,-compound,+list(compound)) - onemine/2
Mines a pattern miner result from the given dataset object using default options.
staticmine(Dataset,PatternMiner)mine(+object_identifier,-compound) - onediagnostics/2
Returns diagnostics and metadata associated with a mined pattern miner in a representation-independent way.
staticdiagnostics(PatternMiner,Diagnostics)diagnostics(+compound,-list(compound)) - onediagnostic/2
Tests or enumerates individual diagnostics metadata terms for a mined pattern miner.
staticdiagnostic(PatternMiner,Diagnostic)diagnostic(+compound,?compound) - zero_or_morepattern_miner_options/2
Returns the effective mining options recorded in a mined pattern miner diagnostics list.
staticpattern_miner_options(PatternMiner,Options)pattern_miner_options(+compound,-list(compound)) - zero_or_onecheck_pattern_miner/1
Checks that the argument is a structurally valid mined pattern miner term for the receiving pattern miner implementation, throwing an exception on invalid input when applicable.
staticcheck_pattern_miner(PatternMiner)check_pattern_miner(@compound) - one_or_errorPatternMiner is a variable:instantiation_errorPatternMiner is neither a variable nor a valid pattern miner:domain_error(pattern_miner,PatternMiner)valid_pattern_miner/1
True when check_pattern_miner/1 succeeds for the argument without throwing an exception.
staticvalid_pattern_miner(PatternMiner)valid_pattern_miner(@compound) - zero_or_oneexport_to_clauses/4
Converts a pattern miner result into a list of predicate clauses. Functor is the functor for the generated predicate clauses.
staticexport_to_clauses(Dataset,PatternMiner,Functor,Clauses)export_to_clauses(+object_identifier,+compound,+callable,-list(clause)) - oneexport_to_file/4
Exports a pattern miner result to a file. Functor is the functor for the generated predicate clauses.
staticexport_to_file(Dataset,PatternMiner,Functor,File)export_to_file(+object_identifier,+compound,+callable,+atom) - oneprint_pattern_miner/1
Prints a pattern miner result to the current output stream in a human-readable format.
staticprint_pattern_miner(PatternMiner)print_pattern_miner(+compound) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)