PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/ML System Design/Google

Explain ML model fundamentals

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of core machine learning concepts and competencies, covering probabilistic classifiers (logistic regression, Naive Bayes), transformer architecture and self-attention, ensemble strategies (bagging vs boosting), and multi-class evaluation metrics within the ML system design domain.

  • hard
  • Google
  • ML System Design
  • Machine Learning Engineer

Explain ML model fundamentals

Company: Google

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: hard

Interview Round: Onsite

##### Question Explain the principles and assumptions behind logistic regression. How does Naive Bayes work and when does it perform well? Describe the transformer architecture and why self-attention helps. What metrics would you use to evaluate a multi-class classification model and why? Compare bagging and boosting: how do they reduce error?

Quick Answer: This question evaluates understanding of core machine learning concepts and competencies, covering probabilistic classifiers (logistic regression, Naive Bayes), transformer architecture and self-attention, ensemble strategies (bagging vs boosting), and multi-class evaluation metrics within the ML system design domain.

Related Interview Questions

  • Design an app-store app recommendation system - Google (medium)
  • Design a chatbot over structured and unstructured data - Google (medium)
  • Design a fraud detection system - Google (medium)
  • Choose Fast or Cheap Models - Google
  • Design ML system for self-driving perception - Google (medium)
Google logo
Google
Jul 29, 2025, 8:05 AM
Machine Learning Engineer
Onsite
ML System Design
35
0

Comprehensive ML Concepts: Logistic Regression, Naive Bayes, Transformers, Multi-class Metrics, Bagging vs Boosting

Context

You are interviewing for a Machine Learning Engineer role. Answer the following conceptual and practical questions clearly and concisely.

Questions

  1. Logistic Regression
    • Explain the core principles and statistical assumptions behind logistic regression.
  2. Naive Bayes
    • How does Naive Bayes work? When and why does it perform well?
  3. Transformer Architecture
    • Describe the transformer architecture. Why does self-attention help?
  4. Multi-class Evaluation Metrics
    • What metrics would you use to evaluate a multi-class classification model and why? Briefly compare their use cases.
  5. Bagging vs. Boosting
    • Compare bagging and boosting. How do they reduce error (bias/variance), and what are the trade-offs?

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Google•More Machine Learning Engineer•Google Machine Learning Engineer•Google ML System Design•Machine Learning Engineer ML System Design
PracHub

Master your tech interviews with 7,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.