Expand description
Isotonic regression by the pool-adjacent-violators algorithm (SciPy’s
optimize.isotonic_regression).
See the book entry Brute force, isotonic regression and gradient checks.
Structs§
- Isotonic
Result - The result of
isotonic_regression.
Functions§
- isotonic_
regression - The weighted least-squares fit of
yby a non-decreasing (or, withincreasing = false, non-increasing) sequence,min Σ wᵢ (xᵢ − yᵢ)²subject tox₁ ≤ x₂ ≤ … ≤ xₙ(SciPy’sisotonic_regression). The pool-adjacent-violators algorithm merges each new observation with the blocks before it while their weighted means are out of order; every block’s value is its weighted mean, in O(n) time.weightsdefault to one and must be positive.