Skip to main content

Gaussian Process Regression framework for numerical integration and differentiation

Project description

CalcGP: Numerical Calculus via Gaussian Process Regression

  1. Introduction
  2. Installation

Introduction

CalcGP is a Gaussian Process Regression framework built as an alternative for numerical integration of gradients and differentiation of scalar functions. The package is based on the autograd framework JAX.

CalcGP is intended to be used as a regression framework for scalar functions and gradients of scalar functions. One can

  • directly fit a scalar function from observations,
  • "integrate" the gradient of a scalar function,
  • "differentiate" a scalar function in order to get its gradient.

Examples for all these cases can be found in ./examples/. There is a 1D example that shows all three use cases, a 2D example on how to handle higher dimensional data, and an example that shows a sparse model for large datasets.

Installation

Download the package from github via

git clone https://github.com/LukasEin/calcgp.git

Then, to install the package directly, run

python3 setup.py install --user

or to install it in a conda environment run

conda create -n myenv python=3.8
conda activate myenv
python3 setup.py install

direcly in the newly created ./calcgp/ folder.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calcgp-0.1.5.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

calcgp-0.1.5-py3-none-any.whl (16.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page