PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Pinterest

Answer core ML fundamentals questions

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's mastery of core Machine Learning fundamentals, including classification metrics (precision and recall) with confusion-matrix interpretation, gradient concepts for optimization, ensemble learning tradeoffs, and the mechanics of a neural network forward pass.

  • hard
  • Pinterest
  • Machine Learning
  • Machine Learning Engineer

Answer core ML fundamentals questions

Company: Pinterest

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Take-home Project

You are asked several short ML fundamentals questions: 1) Define **precision** and **recall** for a binary classifier and explain how they relate to a confusion matrix. 2) Given a confusion matrix (TP, FP, TN, FN), compute precision and recall and explain what types of errors increase/decrease each metric. 3) Answer basic questions about **gradients** (e.g., what a gradient represents, and how it is used in gradient descent). 4) Discuss common **ensemble learning tradeoffs** (e.g., bagging vs boosting, bias–variance, compute/latency). 5) Do a simple **neural network forward pass by hand** for a small feed-forward network (matrix multiply + bias + activation) and produce the final output.

Quick Answer: This question evaluates a candidate's mastery of core Machine Learning fundamentals, including classification metrics (precision and recall) with confusion-matrix interpretation, gradient concepts for optimization, ensemble learning tradeoffs, and the mechanics of a neural network forward pass.

Related Interview Questions

  • Explain overfitting, underfitting, and regularization - Pinterest (hard)
  • Implement bagging with decision trees - Pinterest (hard)
  • Implement Naive Bayes classifier from scratch - Pinterest (hard)
  • Explain bias–variance, overfitting, and vanishing gradients - Pinterest (medium)
  • Explain learning-rate fluctuation and vanishing gradients - Pinterest (easy)
|Home/Machine Learning/Pinterest

Answer core ML fundamentals questions

Pinterest logo
Pinterest
Feb 9, 2026, 12:00 AM
hardMachine Learning EngineerTake-home ProjectMachine Learning
6
0

You are asked several short ML fundamentals questions:

  1. Define precision and recall for a binary classifier and explain how they relate to a confusion matrix.
  2. Given a confusion matrix (TP, FP, TN, FN), compute precision and recall and explain what types of errors increase/decrease each metric.
  3. Answer basic questions about gradients (e.g., what a gradient represents, and how it is used in gradient descent).
  4. Discuss common ensemble learning tradeoffs (e.g., bagging vs boosting, bias–variance, compute/latency).
  5. Do a simple neural network forward pass by hand for a small feed-forward network (matrix multiply + bias + activation) and produce the final output.
Loading comments...

Browse More Questions

More Machine Learning•More Pinterest•More Machine Learning Engineer•Pinterest Machine Learning Engineer•Pinterest Machine Learning•Machine Learning Engineer Machine Learning

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,000+ 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
  • AI Coding 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.