mlflow_log_model: Log Model

View source: R/model.R

mlflow_log_modelR 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.


mlflow documentation built on Nov. 1, 2024, 1:07 a.m.