Learn Before
Concept
Step Functions
A step-function model replaces one global linear fit with several flat pieces. First, split the predictor range into intervals, or bins. Then estimate a separate constant response level within each bin.
Because the fitted value changes only when the predictor crosses a bin boundary, the model is easy to interpret: each interval has its own average outcome. This makes a continuous variable behave like an ordered categorical variable, which can be helpful when the response changes in distinct ranges rather than smoothly.
0
6
Updated 2026-08-12
Contributors are:
Who are from:
Tags
Data Science