50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

mlflow (version 0.7.0)

mlflow_save_flavor: Save MLflow Model Flavor

Description

Saves model in MLflow's 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 funciton must return a list of flavors that conform to the MLmodel specification.