conventions.io

Tech Challenge

2026-10-11

🤖

Daily Tech Challenge

AI & ML

medium
Question 1 of 5

A demand-forecasting model is trained by minimizing the pinball (quantile) loss below with tau = 0.9 instead of mean-squared error. Given enough data and capacity, what does the model learn to predict for each input?

Example
import numpy as np

def pinball_loss(y, y_hat, tau=0.9):
    diff = y - y_hat
    return np.mean(np.maximum(tau * diff, (tau - 1) * diff))

Sunday, October 11, 2026 · A new challenge drops every day