Skip to content
MLA
Model Development
hard
Question 2 of 62

A data scientist wants to add a custom metric — the geometric mean of precision and recall — to an mlflow.evaluate() call. How should they accomplish this?

APass a custom Python function via the extra_metrics parameter to mlflow.evaluate()
BUse mlflow.log_metric() inside the mlflow.evaluate() call as a callback
CCall mlflow.evaluate() first, then manually add the metric via MlflowClient().log_metric()
DSubclass mlflow.models.EvaluationMetric and register it globally before calling mlflow.evaluate()

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion