protocol
supervised_dimension_reduction_dataset_protocol
Protocol for labeled datasets used with supervised dimension reduction algorithms such as LDA.
Availability:
logtalk_load(dimension_reduction_protocols(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-04-18
Compilation flags:
staticExtends:
Remarks:
(none)
Inherited public predicates:
Public predicates
class/1
Returns the name of the target class attribute.
Compilation flags:
staticTemplate:
class(Class)Mode and number of proofs:
class(-atom) - oneclass_values/1
Returns the list of possible values for the target class attribute.
Compilation flags:
staticTemplate:
class_values(Values)Mode and number of proofs:
class_values(-list(atom)) - oneexample/3
Enumerates by backtracking the labeled examples in the dataset. Each example has an Id, a Class value, and a list of Attribute-Value pairs.
Compilation flags:
staticTemplate:
example(Id,Class,AttributeValues)Mode and number of proofs:
example(-integer,-atom,-list(pair)) - zero_or_moreProtected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)