GaussianProcessBase<T>

Base Classes ยท AiDotNet.GaussianProcesses

Abstract base class for Gaussian Process models that provides IFullModel compliance. Maps the GP Fit/Predict(single) API to the standard Train/Predict(batch) API.

Inheritance: ModelBase<T, Matrix<T>, Vector<T>> โ†’ GaussianProcessBase<T>

Implements: IGaussianProcess<T>

Known derived types: DeepGaussianProcess<T>, GPWithMCMC<T>, HeteroscedasticGaussianProcess<T>, MultiOutputGaussianProcess<T>, MultiTaskGaussianProcess<T>, SparseGaussianProcess<T>, SparseVariationalGaussianProcess<T>, StandardGaussianProcess<T>, StudentTGaussianProcess<T>, VariationalGaussianProcess<T>

Properties

Property Summary
ILossFunction<T> DefaultLossFunction { get; }

Methods

Method Summary
IFullModel<T, Matrix<T>, Vector<T>> WithParameters(Vector<T> parameters)
ValueTuple<T, T> Predict(Vector<T> x) Predicts mean values for each row of the input matrix.
Vector<T> Predict(Matrix<T> input) Predicts mean values for each row of the input matrix.
void Fit(Matrix<T> X, Vector<T> y)
void Train(Matrix<T> input, Vector<T> expectedOutput) Trains the GP.
void UpdateKernel(IKernelFunction<T> kernel)