PracHub
QuestionsLearningGuidesInterview 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)
|Home/Machine Learning/Stripe

Normalize targets for multitask regression

Stripe logo
Stripe
Apr 18, 2026, 12:00 AM
mediumMachine Learning EngineerTechnical ScreenMachine Learning
3
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.

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

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 9,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

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.