Learn R Programming

mlflow (version 0.9.0.1)

mlflow_save_flavor: Save MLflow Model Flavor

Description

Saves model in MLflow flavor, to be used by package authors to extend the supported MLflow models.

Usage

mlflow_save_flavor(x, path = "model", r_dependencies = NULL,
  conda_env = NULL)

Arguments

x

The serving function or model that will perform a prediction.

path

Destination path where this MLflow compatible model will be saved.

r_dependencies

Optional vector of paths to dependency files to include in the model, as in r-dependencies.txt or conda.yaml.

conda_env

Path to Conda dependencies file.

Value

This function must return a list of flavors that conform to the MLmodel specification.