Plot the predictive distribution of new data. Only works with 1 dimension
1 2 3 4 5 |
gp |
gaussianProcess object |
x.min |
Lowest x value to plot |
x.max |
Highest x value to plot |
by |
Spacing for x values, defaults to 0.1 |
plot.points |
Whether to plot the data as well, defaults to False |
plot.mean |
Whether to plot the mean of the process |
plot.int |
Whether to plot an interval around the mean |
plot.samples |
Whether to plot samples |
plot.predictive |
Whether to plot the posterior predictive |
int.size |
Posterior intervals are mean +- int.size * var, defaults to 1.96 |
n.samples |
Number of samples to plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.