conda create --name local_smooth python==3.9if poetry is not installed:
curl -sSL https://install.python-poetry.org | python3 -
poetry config virtualenvs.create false --localinstall the project:
conda activate local_smooth
poetry installchmod +x run.shpython local_smooth/main.py --config configs/loc_lin_gauss_ker.ymlrun all experiments:
./run.shUnbiased risk estimate is computed as:
True risk is computed as:
$\mathcal{R}(\hat{f}) = \mathbb{E}((f^)'(x_0) - \hat{f}'(x_0))^2 = ((f^)'(x_0) - \mathcal{S}_1^{\top}\mathbf{f})^2 + \sigma^2 |\mathcal{S}_1|^2$,
where
- Generated data:
- Risk (Locally linear estimate, Gaussian kernel):

