Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 7.13 KB

README.md

File metadata and controls

53 lines (41 loc) · 7.13 KB

Kernel Packet

Kernel Packet is a MATLAB package for fast computing in Gaussian Process Modeling.

File Description

Functions:

  • General:

  • One-dimension:

    • <compute_basis> is a function file to compute kernel packet (which also our basis function) in one-dimensional Kriging (GPR).
    • <compute_post> is a function file to to compute posterior mean and covariance in one dimensional Kriging.
    • <loglike_1d> is a function file to compute log likelihood of parameter 'rho' in one dimension.
    • <mle_1d> is a function file to compute updated parameter theta_hat, updated log likelihood L_hat and initial loglikelihood L_init in one dimensional MLE.
  • Multi-Dimension:

    • FullGrid:

      • <fg_w> is a function file to compute multiplication of inverse of covariance matrix and a random matrix in full grid design.
    • SparseGrid:

      • <sg_loglike> is a function file to compute log likelihood of lengthscale parameter 'rho' in Multi-dimensional sparse grid design.
      • <sg_mle> is a function file to compute updated parameter theta_hat, updated log likelihood L_hat and initial loglikelihood L_init in Multi-dimensional MLE under sparse grid design.
      • <sg_w> is a function file to compute multiplication of inverse of covariance matrix and a random matrix in sparse grid design.
      • <sgd> is a function file to generate a structure of sparse grid design.
    • <compute_pred> is a funciton file to compute prediction value of response (which is also the posterior mean) of nulti-dimensional Kriging.

    • <kron_mat_prod> is a function file to compute matrix-matrix multiplication between matrix kron(As{1}, As{2}, ..., As{N}) and matrix v without forming the full kronecker product by using unfold and refold functions.

    • <kron_ttm> is a function file to compute matrix-matrix multiplication between matrix kron(As{1}, As{2}, ..., As{N}) and matrix m by using <ttm> function in tensor_toolbox-master.

    • <refold> is a function file to refold matrix into tensor.

    • <unfold> is a function file to unfold tensor into matrix.

Examples:

Others:

  • tensor_toolbox-master is a MATLAB tensor toolbox by Brett W. Bader, Tamara G. Kolda and others, we use sparse tensor function <sptensor> in our function <sg_w>. For more information please see their official website here.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

This work is published under MIT License.