📖 Step Function
Step functions break the range of $X$ into bins and fit a constant in each bin: $y_i = \\beta_0 + \\beta_1 C_1(x_i) + \\cdots + \\beta_K C_K(x_i) + \\epsilon_i$ where $C_k(x)$ are indicator functions.
From: Intro to Statistical Learning
Learn more: https://mathacademy-cyan.vercel.app/#/section/30
Explore all courses: https://mathacademy-cyan.vercel.app