update typos and code in 02_Simple_GP_Classification
"source": [
"### Set up training data\n",
"\n",
- "In the next cell, we set up the training data for this example. We'll be using 15 regularly spaced points on [0,1] which we evaluate the function on and add Gaussian noise to get the training labels. Labels are unit wave with period 1/2 centered with positive values @ x=0."
+ "In the next cell, we set up the training data for this example. We'll be using 10 regularly spaced points on [0,1] which we evaluate the function on and add Gaussian noise to get the training labels. Labels are unit wave with period 1/2 centered with positive values @ x=0."
]
},
{
" pred_labels = observed_pred.mean.ge(0.5).float()\n",
" ax.plot(test_x.numpy(), pred_labels.numpy(), 'b')\n",
" ax.set_ylim([-1, 2])\n",
- " ax.legend(['Observed Data', 'Mean', 'Confidence'])"
+ " ax.legend(['Observed Data', 'Mean'])"
]
},
{
