Skip to main content

Gaussian

Type Alias Gaussian 

Source
pub type Gaussian = SquaredExp;
Expand description

Gaussian kernel.

Equivalent to a squared exponential kernel.

k(x,y) = A exp(-||x-y||² / 2l²)

Where A is the amplitude and l the length scale.

Aliased Type§

pub struct Gaussian {
    pub ls: f64,
    pub ampl: f64,
}

Fields§

§ls: f64

The length scale of the kernel.

§ampl: f64

The amplitude of the kernel.