The mathematical formula for Gaussian processes is as follows:
A Gaussian process is defined as a collection of random variables that satisfies any finite-dimensional joint Gaussian distribution. More formally, a Gaussian process is a stochastic process {X(t), t ∈ T}, where T is the index set, such that for any finite subset of indices t1, t2, ..., tn ∈ T, the joint distribution of the random variables X(t1), X(t2), ..., X(tn) is a multivariate Gaussian distribution with mean vector μ = [μ(t1), μ(t2), ..., μ(tn)] and covariance matrix K such that
K(i,j) = Cov(X(ti), X(tj))
for all i,j = 1, 2, ..., n, where Cov denotes the covariance between random variables.
The mean function μ(t) and the covariance function K(t,s), also known as the kernel function, determine the characteristics of the Gaussian process. For example, the mean function specifies the expected value of the process at any given time, while the covariance function determines how the values of the process at different times are related.
The kernel function of a Gaussian process can be chosen based on the problem at hand and can be adapted as the data is observed. Several types of kernel functions such as the radial basis function, the exponential function, and the Matérn function are commonly used in Gaussian process modeling.