gp_visualizer / usage.md
joel-woodfield's picture
Update usage.md
95c6b03 verified

A newer version of the Gradio SDK is available: 6.11.0

Upgrade

Usage

In this visualizer you can visualize gaussian processes with different kernels on different datasets.


Dataset

Generate or upload a dataset to train on. If generating, enter a function and the visualizer will sample points uniformly in the domain based on the settings.


Model

Here you can specify the gaussian process kernel, and whether to use the prior or posterior. For specifying kernels, you must use the sci-kit Learn API - see https://scikit-learn.org/stable/modules/gaussian_process.html#kernels-for-gaussian-processes


Kernel examples

  • RBF()
  • RBF(length_scale=1, length_scale_bounds="fixed")
  • RBF(length_scale=100, length_scale_bounds="fixed") + WhiteKernel()
  • ConstantKernel()*DotProduct(sigma_0=0, sigma_0_bounds="fixed") + WhiteKernel()