How should you frame a supervised target that is a rate, such as claims per policy-year, rather than a raw count?

Last updated 14 November 2026

  • Model the count with a Poisson (or negative binomial/Tweedie) log-link model and log(exposure) as an offset, so f(x) is the log rate.

  • Equivalently, use target = count/exposure with sample weight = exposure under Poisson loss. Never fit unweighted regression on raw rates, since small exposures are noisy and would dominate.

  • Evaluate with exposure-weighted Poisson deviance and actual-vs-expected calibration by segment, not unweighted RMSE on rates.

  • https://scikit-learn.org/stable/auto_examples/linear_model/plot_tweedie_regression_insurance_claims.html
All Supervised Learning interview questions