Learn R Programming

bioLeak (version 0.2.0)

LeakSplits-class: S4 Classes for bioLeak Pipeline

Description

These classes capture splits, model fits, and audit diagnostics produced by make_split_plan(), fit_resample(), and audit_leakage().

Arguments

Value

An S4 object of the respective class.

Slots

mode

Splitting mode (e.g., "grouped_cv", "batch_blocked")

indices

List of resampling descriptors (train/test indices when available)

info

Metadata associated with split or fit

splits

A [`LeakSplits`] object used for resampling

metrics

Model performance metrics per resample

metric_summary

Summary of metrics across resamples

audit

Audit information per resample

predictions

List of prediction objects

preprocess

Preprocessing steps used during fitting

learners

Learner definitions used in the pipeline

outcome

Outcome variable name

task

Modeling task name

feature_names

Feature names included in the model

info

Additional metadata about the fit

fit

A [`LeakFit`] object used to generate the audit

permutation_gap

Data frame summarising permutation gaps

perm_values

Numeric vector of permutation-based scores

batch_assoc

Data frame of batch associations

target_assoc

Data frame of feature-wise outcome associations

duplicates

Data frame detailing duplicate records

trail

List capturing audit trail information

See Also

[make_split_plan()], [fit_resample()], [audit_leakage()]

[fit_resample()]

[audit_leakage()], [audit_report()]