Learn R Programming

mlflow (version 0.7.0)

mlflow_save_flavor.keras.engine.training.Model: Save MLflow Keras Model Flavor

Description

Saves model in MLflow's Keras flavor.

Usage

# S3 method for keras.engine.training.Model
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.