GithubHelp home page GithubHelp logo

lanl / dfdjaxgp Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 0.0 6.15 MB

A python package for fitting Gaussian processes in Jax and performing prediction on nearly arbitrary derivatives

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 98.58% Python 1.42%

dfdjaxgp's Introduction

dfdjaxGP

A python package for fitting Gaussian processes in Jax and performing prediction on (nearly) arbitrary derivatives.

Functionality and syntax are currently shown in the example jupyter notebooks. Further documentation will come in the future.

JaxGPwDerivativesPackageTest_MLE.ipynb

This notebook demonstrates using the package to fit GP parameters by maximizing the marginal likelihood of observations of the input-output pairs of the function. Then (nearly) arbitrary derivatives can be predicted, with uncertainty, from the GP.

JaxGPwDerivativesPackageTest_Bayes.ipynb

This notebook demonstrates using the package to fit GP parameters using observations of the input-output pairs of the function and doing full Bayesian inference through sampling using numpyro. Then (nearly) arbitrary derivatives can be predicted, with uncertainty, from the GP.

JaxGPDerivativeInference.ipynb

This notebook demonstrates combining the package with numpyro to do inference on a function from observations of the function and/or its derivatives. Predictions can then be made of (nearly) arbitrary derivatives.

The derivative limitations are largely driven by computational cost and numerical stability. For instance, making predictions on the 10th derivative of a function based on the GP requires jax to take 10 derivatives of the covariance function and for the resulting covariance matrix to retain numerical positive definiteness.


© 2022. Triad National Security, LLC. All rights reserved. This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. Department of Energy/National Nuclear Security Administration. All rights in the program are reserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear Security Administration. The Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so.

dfdjaxgp's People

Contributors

mikegros avatar

Stargazers

Huy Le Nguyen avatar Arthur Lui avatar Bruno avatar

Watchers

Christoph Junghans avatar Scott Pakin avatar James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.