Step function methods

machine-learning
Step function methods

Suppose we have a function $f: \mathbb{R} \rightarrow \mathbb{R}$ a step function method uses step function to model this. Here we choose intervals of the domain to define different functions on each region.