Saves model in MLflow flavor, to be used by package authors to extend the supported MLflow models.
mlflow_save_flavor(x, path = "model", r_dependencies = NULL,
conda_env = NULL)
The serving function or model that will perform a prediction.
Destination path where this MLflow compatible model will be saved.
Optional vector of paths to dependency files
to include in the model, as in r-dependencies.txt
or conda.yaml
.
Path to Conda dependencies file.
This function must return a list of flavors that conform to the MLmodel specification.