apply_gene.RdApply a single gene to a dataset
apply_gene(
gene,
train_data,
val_data = NULL,
target_col = NULL,
state_cache = NULL,
data_hash = NULL
)A gene list representing a feature transformation.
A data.frame or data.table representing the training data.
Optional validation data.frame or data.table.
Name of the target column.
Optional environment to cache full-dataset fitted states of stateful transformers.
Optional pre-computed xxhash64 digest of the target column, to avoid redundant hashing when applying multiple genes.