Least squares regression: graduation and filters