PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Databricks

Explain ROC-AUC vs PR-AUC tradeoffs

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of binary classification evaluation metrics—specifically interpretation and trade-offs between ROC-AUC and PR-AUC—testing conceptual skills in model ranking, sensitivity to class imbalance, and selection of appropriate performance measures within the Machine Learning domain.

  • hard
  • Databricks
  • Machine Learning
  • Data Scientist

Explain ROC-AUC vs PR-AUC tradeoffs

Company: Databricks

Role: Data Scientist

Category: Machine Learning

Difficulty: hard

Interview Round: Technical Screen

In a binary classification setting, you trained a model that outputs predicted probabilities. 1) Explain what ROC-AUC and PR-AUC measure, including the axes/curves and the intuition behind each. 2) When can ROC-AUC look “good” while PR-AUC looks “poor” (or vice versa)? Discuss the role of class imbalance and base rate. 3) If your business goal is to catch as many positives as possible while reviewing a limited number of cases (e.g., fraud investigation), which metric/curve would you emphasize and why? 4) Name at least two practical pitfalls/edge cases when using these metrics (e.g., calibration vs ranking, operating-threshold selection, changing prevalence between train and production).

Quick Answer: This question evaluates understanding of binary classification evaluation metrics—specifically interpretation and trade-offs between ROC-AUC and PR-AUC—testing conceptual skills in model ranking, sensitivity to class imbalance, and selection of appropriate performance measures within the Machine Learning domain.

Related Interview Questions

  • Implement Gradient Descent Regression - Databricks (medium)
  • Implement Linear Regression Gradient Descent - Databricks (medium)
  • Compare ROC-AUC vs PR-AUC - Databricks (easy)
  • Explain Linear Regression Feature Transformation Equivalence - Databricks (medium)
Databricks logo
Databricks
Dec 12, 2025, 12:00 AM
Data Scientist
Technical Screen
Machine Learning
2
0

In a binary classification setting, you trained a model that outputs predicted probabilities.

  1. Explain what ROC-AUC and PR-AUC measure, including the axes/curves and the intuition behind each.
  2. When can ROC-AUC look “good” while PR-AUC looks “poor” (or vice versa)? Discuss the role of class imbalance and base rate.
  3. If your business goal is to catch as many positives as possible while reviewing a limited number of cases (e.g., fraud investigation), which metric/curve would you emphasize and why?
  4. Name at least two practical pitfalls/edge cases when using these metrics (e.g., calibration vs ranking, operating-threshold selection, changing prevalence between train and production).

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Databricks•More Data Scientist•Databricks Data Scientist•Databricks Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.