Update hyperparameter notebook
"metadata": {},
"outputs": [],
"source": [
+ "# smoke_test (this makes sure this example notebook gets tested)\n",
+ "\n",
"import math\n",
"import torch\n",
"import gpytorch\n",
"likelihood.noise_covar.register_prior(\n",
" \"noise_std_prior\",\n",
" gpytorch.priors.NormalPrior(0, 1),\n",
- " lambda: likelihood.noise.sqrt()\n",
+ " lambda module: module.noise.sqrt()\n",
")\n",
"\n",
"# Create a GaussianLikelihood with a normal prior for the noise\n",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.7.3"
+ "version": "3.7.0"
}
},
"nbformat": 4,
