Isotonic Regression (PAVA)

hard
Unit 21 · Regression & Ensembles0/0 to milestone

Isotonic regression finds the best non-decreasing fit to a sequence: minimise ∑wi(yi−fi)2\sum w_i (y_i - f_i)^2 subject to f1≤f2≤…f_1 \le f_2 \le \dots

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Isotonic Regression (PAVA) · TechGradify