PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/ML System Design/Virtu

Design Basketball Shot Outcome Prediction

Last updated: May 5, 2026

Quick Overview

This question evaluates a candidate's competence in designing end-to-end machine learning systems for sports analytics, covering problem formulation, data collection, feature engineering (physics-based shot metrics, player embeddings, and contextual game state), modeling choices, loss functions, evaluation metrics, and feature selection, and is categorized under ML System Design. It is commonly asked to assess the ability to balance domain-specific feature design with modeling and evaluation trade-offs in applied machine learning, and it probes both conceptual understanding (statistical feature significance) and practical application (system-level design decisions).

  • medium
  • Virtu
  • ML System Design
  • Data Scientist

Design Basketball Shot Outcome Prediction

Company: Virtu

Role: Data Scientist

Category: ML System Design

Difficulty: medium

Interview Round: Technical Screen

Design a machine learning system that predicts whether a basketball shot will be made or missed using only information available at the moment the player releases the ball. Discuss the problem formulation, data collection, feature design, modeling approach, loss function, evaluation metrics, and feature selection strategy. Example input signals may include: - Shot-level physics features such as release speed, release angle, and distance to the rim. - Player identity and player-specific historical behavior, potentially represented with learned embeddings. - Contextual information such as arena conditions, game state, fatigue, minutes already played, and other available pre-shot context. Also answer this feature-selection question: if you fit a univariate linear regression of the target against one feature and the feature is not statistically significant, is it safe to discard that feature? Why or why not?

Quick Answer: This question evaluates a candidate's competence in designing end-to-end machine learning systems for sports analytics, covering problem formulation, data collection, feature engineering (physics-based shot metrics, player embeddings, and contextual game state), modeling choices, loss functions, evaluation metrics, and feature selection, and is categorized under ML System Design. It is commonly asked to assess the ability to balance domain-specific feature design with modeling and evaluation trade-offs in applied machine learning, and it probes both conceptual understanding (statistical feature significance) and practical application (system-level design decisions).

Virtu logo
Virtu
Jan 22, 2026, 12:00 AM
Data Scientist
Technical Screen
ML System Design
0
0

Design a machine learning system that predicts whether a basketball shot will be made or missed using only information available at the moment the player releases the ball.

Discuss the problem formulation, data collection, feature design, modeling approach, loss function, evaluation metrics, and feature selection strategy. Example input signals may include:

  • Shot-level physics features such as release speed, release angle, and distance to the rim.
  • Player identity and player-specific historical behavior, potentially represented with learned embeddings.
  • Contextual information such as arena conditions, game state, fatigue, minutes already played, and other available pre-shot context.

Also answer this feature-selection question: if you fit a univariate linear regression of the target against one feature and the feature is not statistically significant, is it safe to discard that feature? Why or why not?

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Virtu•More Data Scientist•Virtu Data Scientist•Virtu ML System Design•Data Scientist 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.