mlflow_log_model {mlflow}R Documentation

Log Model

Description

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

Usage

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.


[Package mlflow version 2.11.1 Index]