protocol
clusterer_protocol
Protocol for machine learning clusterers.
logtalk_load(clustering_protocols(loader))staticPublic predicates
learn/3
Learns a clusterer from the given dataset object using the specified options.
staticlearn(Dataset,Clusterer,Options)learn(+object_identifier,-compound,+list(compound)) - onelearn/2
Learns a clusterer from the given dataset object using default options.
staticlearn(Dataset,Clusterer)learn(+object_identifier,-compound) - onecluster/3
Assigns a new instance to a cluster using the learned clusterer. The instance is a list of Attribute-Value pairs.
staticcluster(Clusterer,Instance,Cluster)cluster(+compound,+list,-ground) - onediagnostics/2
Returns diagnostics and metadata associated with a learned clusterer in a representation-independent way.
staticdiagnostics(Clusterer,Diagnostics)diagnostics(+compound,-list(compound)) - onecheck_clusterer/1
Checks that a learned clusterer term is structurally valid for the receiving implementation. Throws an exception when the term is not a valid clusterer representation.
staticcheck_clusterer(Clusterer)check_clusterer(@compound) - one_or_errorClusterer is a variable:instantiation_errorClusterer is neither a variable nor a valid clusterer:domain_error(clusterer,Clusterer)valid_clusterer/1
True when a learned clusterer term is structurally valid for the receiving implementation. Succeeds iff check_clusterer/1 succeeds without throwing an exception.
staticvalid_clusterer(Clusterer)valid_clusterer(@compound) - zero_or_onediagnostic/2
Tests or enumerates individual diagnostics metadata terms for a learned clusterer.
staticdiagnostic(Clusterer,Diagnostic)diagnostic(+compound,?compound) - zero_or_moreclusterer_options/2
Returns the effective training options recorded in a learned clusterer diagnostics list.
staticclusterer_options(Clusterer,Options)clusterer_options(+compound,-list(compound)) - oneexport_to_clauses/4
Converts a clusterer into a list of predicate clauses. Functor is the functor for the generated predicate clauses.
staticexport_to_clauses(Dataset,Clusterer,Functor,Clauses)export_to_clauses(+object_identifier,+compound,+callable,-list(clause)) - oneexport_to_file/4
Exports a clusterer to a file. Functor is the functor for the generated Functor(Clusterer) predicate clause.
staticexport_to_file(Dataset,Clusterer,Functor,File)export_to_file(+object_identifier,+compound,+callable,+atom) - oneprint_clusterer/1
Prints a clusterer to the current output stream in a human-readable format.
staticprint_clusterer(Clusterer)print_clusterer(+compound) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)
See also