protocol
dimension_reducer_protocol
Protocol for machine learning dimension reducers.
logtalk_load(dimension_reduction_protocols(loader))staticPublic predicates
learn/3
Learns a dimension reducer from the given dataset object using the given options.
staticlearn(Dataset,DimensionReducer,Options)learn(+object_identifier,-compound,++list(compound)) - onelearn/2
Learns a dimension reducer from the given dataset object using default options.
staticlearn(Dataset,DimensionReducer)learn(+object_identifier,-compound) - onetransform/3
Transforms a new instance into a reduced representation using the learned dimension reducer. The instance is a list of Attribute-Value pairs and the reduced representation is a list of Component-Value pairs.
statictransform(DimensionReducer,Instance,ReducedInstance)transform(+compound,+list,-list(pair)) - onecheck_dimension_reducer/1
Checks that a learned dimension reducer term is structurally valid for the receiving implementation. Throws an exception when the term is not a valid dimension reducer representation.
staticcheck_dimension_reducer(DimensionReducer)check_dimension_reducer(@compound) - one_or_errorDimensionReducer is a variable:instantiation_errorDimensionReducer is neither a variable nor a valid dimension reducer:domain_error(dimension_reducer,DimensionReducer)valid_dimension_reducer/1
True when a learned dimension reducer term is structurally valid for the receiving implementation. Succeeds iff check_dimension_reducer/1 succeeds without throwing an exception.
staticvalid_dimension_reducer(DimensionReducer)valid_dimension_reducer(@compound) - zero_or_onediagnostics/2
Returns diagnostics and metadata associated with a learned dimension reducer in a representation-independent way.
staticdiagnostics(DimensionReducer,Diagnostics)diagnostics(+compound,-list(compound)) - onediagnostic/2
Tests or enumerates individual diagnostics metadata terms for a learned dimension reducer.
staticdiagnostic(DimensionReducer,Diagnostic)diagnostic(+compound,?compound) - zero_or_moredimension_reducer_options/2
Returns the effective training options recorded in a learned dimension reducer diagnostics list.
staticdimension_reducer_options(DimensionReducer,Options)dimension_reducer_options(+compound,-list(compound)) - zero_or_oneexport_to_clauses/4
Converts a dimension reducer into a list of predicate clauses. Functor is the functor for the generated single-argument predicate clauses whose argument is the serialized dimension reducer term.
staticexport_to_clauses(Dataset,DimensionReducer,Functor,Clauses)export_to_clauses(+object_identifier,+compound,+callable,-list(clause)) - oneexport_to_file/4
Exports a dimension reducer to a file. Functor is the functor for the generated single-argument predicate clauses whose argument is the serialized dimension reducer term.
staticexport_to_file(Dataset,DimensionReducer,Functor,File)export_to_file(+object_identifier,+compound,+callable,+atom) - oneprint_dimension_reducer/1
Prints a dimension reducer to the current output stream in a human-readable format.
staticprint_dimension_reducer(DimensionReducer)print_dimension_reducer(+compound) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)