prepare_structured_unstructured_process_features: Prepare leakage-safe structured/unstructured process...

View source: R/065-frontier-gates-0-8.R

prepare_structured_unstructured_process_featuresR Documentation

Prepare leakage-safe structured/unstructured process representations

Description

Prepare leakage-safe structured/unstructured process representations

Usage

prepare_structured_unstructured_process_features(
  structured,
  unstructured = NULL,
  fold = NULL,
  builder = NULL,
  id = c("person_id", "item_id"),
  ...
)

Arguments

structured

Structured person/item/window features.

unstructured

Optional sequence/sample object.

fold

Fold identifier. If supplied, representation builders are applied fold-locally using 'builder'.

builder

Optional function '(train_structured, train_unstructured, test_structured, test_unstructured, fold_value, ...)' returning a fold result.

id

Optional identifier columns retained in the representation contract.

...

Passed to 'builder'.

Value

An object of class "eye_structured_unstructured_process_features", stored as a named list, with components "contract", "folds", "status". It contains leakage-safe structured/unstructured process representations and associated metadata or diagnostics needed to interpret the result.


eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.