
Answer-first summary for fast verification
Answer: mlflow.create_project
The correct command for packaging and sharing an entire machine learning project in MLflow is `mlflow.create_project`. This command bundles the code, dependencies, and necessary files into a reproducible project. - **Option A (`mlflow.log_artifact`)**: Used for logging arbitrary files or artifacts related to a run, not for packaging a whole project. - **Option B (`mlflow.create_experiment`)**: Creates a new experiment in the MLflow tracking server, not for project packaging. - **Option C (`mlflow.register_model`)**: Registers a specific model but does not cover the entire project. For comprehensive sharing of the machine learning project, `mlflow.create_project` is the appropriate choice.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a collaborative project utilizing MLflow, a data scientist aims to share the entire machine learning project, including code, environment specifications, and model artifacts with their team. Which MLflow command should they use to package and share the project?
A
mlflow.log_artifact
B
mlflow.create_experiment
C
mlflow.register_model
D
mlflow.create_project
No comments yet.