save_model: Save Model for MLflow

Description Usage Arguments

View source: R/model.R

Description

Saves model in MLflow format that can later be used for prediction and serving. This method is generic to allow package authors to save custom model types.

Usage

1
2
3
4
## S3 method for class 'crate'
save_model(model, path, model_spec = list(), ...)

save_model(model, path, model_spec = list(), ...)

Arguments

model

The model that will perform a prediction.

path

Destination path where this MLflow compatible model will be saved.

model_spec

MLflow model config this model flavor is being added to.

...

Additional arguments to pass to log_artifact


mrkaye97/lightMLFlow documentation built on Dec. 28, 2021, 12:15 a.m.