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.
# S3 method for crate
mlflow_save_model(model, path, model_spec = list(), ...)mlflow_save_model(model, path, model_spec = list(), ...)
# S3 method for H2OModel
mlflow_save_model(model, path, model_spec = list(), conda_env = NULL, ...)
# S3 method for keras.engine.training.Model
mlflow_save_model(model, path, model_spec = list(), conda_env = NULL, ...)
# S3 method for xgb.Booster
mlflow_save_model(model, path, model_spec = list(), conda_env = NULL, ...)
The model that will perform a prediction.
Destination path where this MLflow compatible model will be saved.
MLflow model config this model flavor is being added to.
Optional additional arguments.
Path to Conda dependencies file.