What did Ng and Jordan show about the learning curves of Naive Bayes versus logistic regression?

Quick Overview

Asks what the Ng and Jordan comparison of generative and discriminative classifiers found about Naive Bayes and logistic regression learning curves. Tests understanding of sample complexity, asymptotic error, the independence assumption, and choosing a model by training-set size.

What did Ng and Jordan show about the learning curves of Naive Bayes versus logistic regression?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What did Ng and Jordan show about the learning curves of Naive Bayes versus logistic regression? Cover both how fast each model approaches its best achievable error and what that best error is. ```hint Two separate quantities Treat the speed of convergence and the error at convergence as two different questions. A model can win one and lose the other. ``` ```hint How the parameters are estimated Compare how Naive Bayes and logistic regression fit their parameters. Which one estimates each parameter on its own, and which fits all of them jointly? ``` ### What a Strong Answer Covers - The two models as a generative-discriminative pair and the condition under which they share a decision boundary family - The sample complexity of each model in terms of the number of features, and why they differ - How their asymptotic errors compare, and the role of the independence assumption - The resulting shape of the learning curves and the practical takeaway for model choice ### Follow-up Questions - Why does Naive Bayes often produce poorly calibrated probabilities even when its accuracy is good? - How would L2 regularization on logistic regression change the small-sample part of the comparison? - Gaussian Naive Bayes with class-specific variances has a quadratic decision boundary. What is its discriminative counterpart? - In what modern settings (text, few-shot learning) does this result still guide model choice?

Overview: Asks what the Ng and Jordan comparison of generative and discriminative classifiers found about Naive Bayes and logistic regression learning curves. Tests understanding of sample complexity, asymptotic error, the independence assumption, and choosing a model by training-set size.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What did Ng and Jordan show about the learning curves of Naive Bayes versus logistic regression?

Cover both how fast each model approaches its best achievable error and what that best error is.

What a Strong Answer Covers Guidance

  • The two models as a generative-discriminative pair and the condition under which they share a decision boundary family
  • The sample complexity of each model in terms of the number of features, and why they differ
  • How their asymptotic errors compare, and the role of the independence assumption
  • The resulting shape of the learning curves and the practical takeaway for model choice

Follow-up Questions Guidance

  • Why does Naive Bayes often produce poorly calibrated probabilities even when its accuracy is good?
  • How would L2 regularization on logistic regression change the small-sample part of the comparison?
  • Gaussian Naive Bayes with class-specific variances has a quadratic decision boundary. What is its discriminative counterpart?
  • In what modern settings (text, few-shot learning) does this result still guide model choice?