Concept

Step Functions

Instead of using a linear model to fit the data gloabally, we can fit the data into a model of step functions. As is shown below, Here we break the range of X into bins, and fit a different constant in each bin. This amounts to converting a continuous variable into an ordered categorical variable. Image from the cited textbook

0

6

Updated 2020-04-05

Tags

Data Science

Related