Locally Adaptive and Differentiable Regression