Self-Distillation for Gaussian Process Regression and Classification