mlflow_log_model: Log Model

Description Usage Arguments

View source: R/model.R

Description

Logs a model for this run. Similar to 'mlflow_save_model()' but stores model as an artifact within the active run.

Usage

1
mlflow_log_model(model, artifact_path, ...)

Arguments

model

The model that will perform a prediction.

artifact_path

Destination path where this MLflow compatible model will be saved.

...

Optional additional arguments passed to 'mlflow_save_model()' when persisting the model. For example, 'conda_env = /path/to/conda.yaml' may be passed to specify a conda dependencies file for flavors (e.g. keras) that support conda environments.


mlflow documentation built on Sept. 6, 2021, 9:06 a.m.