PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Stripe

Normalize targets for multitask regression

Last updated: May 23, 2026

Quick Overview

This question evaluates proficiency in multitask regression, preprocessing, and loss engineering within the Machine Learning domain, focusing on handling heterogeneous target distributions, sign-constrained labels, normalization, balanced loss combination, and mapping predictions back to original units at inference.

  • medium
  • Stripe
  • Machine Learning
  • Machine Learning Engineer

Normalize targets for multitask regression

Company: Stripe

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

You are training one machine learning model with a shared representation and two regression heads. Each example has two continuous labels: - Target A is always non-positive, such as a loss or negative value. - Target B is always non-negative, such as revenue or a positive value. The absolute ranges of the two targets are very different. For example, Target A may range from -10,000 to 0, while Target B may range from 0 to 50. Design the preprocessing and training objective for learning both regression tasks at the same time. Explain how you would handle the negative target, normalize the two targets, combine the losses, and convert predictions back to the original units at inference time. Discuss common pitfalls.

Quick Answer: This question evaluates proficiency in multitask regression, preprocessing, and loss engineering within the Machine Learning domain, focusing on handling heterogeneous target distributions, sign-constrained labels, normalization, balanced loss combination, and mapping predictions back to original units at inference.

Related Interview Questions

  • Design a hierarchical forecast for transactions - Stripe (Medium)
  • Design a model for subscription adoption prediction - Stripe (hard)
  • Design a target‑user prediction system - Stripe (hard)
  • Design a leak-free time-split model - Stripe (hard)
Stripe logo
Stripe
Apr 18, 2026, 12:00 AM
Machine Learning Engineer
Technical Screen
Machine Learning
0
0

You are training one machine learning model with a shared representation and two regression heads. Each example has two continuous labels:

  • Target A is always non-positive, such as a loss or negative value.
  • Target B is always non-negative, such as revenue or a positive value.

The absolute ranges of the two targets are very different. For example, Target A may range from -10,000 to 0, while Target B may range from 0 to 50.

Design the preprocessing and training objective for learning both regression tasks at the same time. Explain how you would handle the negative target, normalize the two targets, combine the losses, and convert predictions back to the original units at inference time. Discuss common pitfalls.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Stripe•More Machine Learning Engineer•Stripe Machine Learning Engineer•Stripe Machine Learning•Machine Learning Engineer 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.