Creates a complete export bundle containing: - Vetiver model for R deployment - ONNX-compatible model files (if supported) - Preprocessing manifest - Feature metadata
Usage
export_bundle(
learner,
model_name,
task,
output_dir,
description = NULL,
create_api = FALSE
)Examples
if (FALSE) { # \dontrun{
if (requireNamespace("jsonlite", quietly = TRUE)) {
# Create complete export bundle
bundle <- export_bundle(
learner = trained_learner,
model_name = "biomarker_classifier",
task = my_task,
output_dir = "model_export",
create_api = TRUE
)
}
} # }