Library
Module
General Framework for the data augmented Gaussian Processes
Types
Classic Batch Gaussian Process Regression (no inducing points)
Sparse Gaussian Process Regression with Gaussian Likelihood
Batch Student T Gaussian Process Regression (no inducing points)
Sparse Gaussian Process Regression with Student T likelihood
Batch Gaussian Process Classifier with Logistic Likelihood (no inducing points)
Sparse Gaussian Process Classifier with Logistic Likelihood Create a GP model taking the training data and labels X & y as required arguments. Other optional arguments are:
- Stochastic::Bool : Is the method trained via mini batches
- AdaptiveLearningRate::Bool : Is the learning rate adapted via estimation of the gradient variance? see "Adaptive Learning Rate for Stochastic Variational inference" https://pdfs.semanticscholar.org/9903/e08557f328d58e4ba7fce68faee380d30b12.pdf, if not use simple exponential decay with parameters κs and τs seen under (1/(iter+τs))^-κs
- Autotuning::Bool : Are the hyperparameters trained as well
- optimizer::Optimizer : Type of optimizer for the hyperparameters
- OptimizeIndPoints::Bool : Is the location of inducing points optimized
- nEpochs::Integer : How many iteration steps
- batchsize::Integer : number of samples per minibatches
- κ_s::Real
- τ_s::Real
- kernel::Kernel : Kernel for the model
- noise::Float64 : noise added in the model
- m::Integer : Number of inducing points
- ϵ::Float64 : minimum value for convergence
- SmoothingWindow::Integer : Window size for averaging convergence in the stochastic case
- verbose::Integer : How much information is displayed (from 0 to 3)
Batch Bayesian Support Vector Machine (no inducing points)
Sparse Gaussian Process Classifier with Bayesian SVM likelihood
Functions and methods
AugmentedGaussianProcesses.train! — Method.Function to train the given GP model, there are options to change the number of max iterations, give a callback function that will take the model and the actual step as arguments and give a convergence method to stop the algorithm given specific criteria
AugmentedGaussianProcesses.regpredict — Method.Return the mean of the predictive distribution of f
AugmentedGaussianProcesses.regpredictproba — Function.Return the mean and variance of the predictive distribution of f
AugmentedGaussianProcesses.studenttpredict — Function.Return the mean of the predictive distribution of f
AugmentedGaussianProcesses.studenttpredictproba — Function.Return the mean and variance of the predictive distribution of f
AugmentedGaussianProcesses.logitpredict — Function.Return the predicted class {-1,1} with a GP model via the logit link
AugmentedGaussianProcesses.logitpredictproba — Function.Return the mean of likelihood p(y=1|X,x) via the logit link with a GP model
AugmentedGaussianProcesses.svmpredict — Function.Return the point estimate of the likelihood of class y=1 via the SVM likelihood
AugmentedGaussianProcesses.svmpredictproba — Function.Return the likelihood of class y=1 via the SVM likelihood
Kernels
Radial Basis Function Kernel also called RBF or SE(Squared Exponential)Kernel functions
Create the covariance matrix between the matrix X1 and X2 with the covariance function kernel
Compute the covariance matrix of the matrix X, optionally only compute the diagonal terms
Compute the covariance matrix between the matrix X1 and X2 with the covariance function kernel in preallocated matrix K
Compute the covariance matrix of the matrix X in preallocated matrix K, optionally only compute the diagonal terms
Return the variance of the kernel
Return the lengthscale of the IsoKernel
Return the lengthscales of the ARD Kernel
Index
AugmentedGaussianProcesses.BatchBSVMAugmentedGaussianProcesses.BatchGPRegressionAugmentedGaussianProcesses.BatchStudentTAugmentedGaussianProcesses.BatchXGPCAugmentedGaussianProcesses.KernelModule.RBFKernelAugmentedGaussianProcesses.SparseBSVMAugmentedGaussianProcesses.SparseGPRegressionAugmentedGaussianProcesses.SparseStudentTAugmentedGaussianProcesses.SparseXGPCAugmentedGaussianProcesses.KernelModule.getlengthscalesAugmentedGaussianProcesses.KernelModule.getvarianceAugmentedGaussianProcesses.KernelModule.kernelmatrixAugmentedGaussianProcesses.KernelModule.kernelmatrix!AugmentedGaussianProcesses.logitpredictAugmentedGaussianProcesses.logitpredictprobaAugmentedGaussianProcesses.regpredictAugmentedGaussianProcesses.regpredictprobaAugmentedGaussianProcesses.studenttpredictAugmentedGaussianProcesses.studenttpredictprobaAugmentedGaussianProcesses.svmpredictAugmentedGaussianProcesses.svmpredictprobaAugmentedGaussianProcesses.train!