target_supervised_dimension_reduction_dataset_protocol — Logtalk 3.100.1

protocol

# `target_supervised_dimension_reduction_dataset_protocol`

Protocol for target-valued datasets used with supervised dimension reduction algorithms such as PLS projections.

Availability:
`logtalk_load(dimension_reduction_protocols(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-04-28
Compilation flags:
`static`
Extends:
`public` dimension_reduction_dataset_protocol
Remarks:
(none)
Inherited public predicates:
attribute_values/2 example/2

## Public predicates

### `target/1`

Returns the name of the numeric target attribute.

Compilation flags:
`static`
Template:
`target(Target)`
Mode and number of proofs:
`target(-atom)` - `one`

### `example/3`

Enumerates by backtracking the target-valued examples in the dataset. Each example has an `Id`, a numeric `Target` value, and a list of `Attribute-Value` pairs.

Compilation flags:
`static`
Template:
`example(Id,Target,AttributeValues)`
Mode and number of proofs:
`example(-integer,-number,-list(pair))` - `zero_or_more`

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)