Skip to main content

Polynomial approximations

Project description

# equadratures

equadratures is an open-source library for uncertainty quantification, machine learning, optimisation, numerical integration and dimension reduction – all using orthogonal polynomials. It is particularly useful for models / problems where output quantities of interest are smooth and continuous; to this extent it has found widespread applications in computational engineering models (finite elements, computational fluid dynamics, etc). It is built on the latest research within these areas and has both deterministic and randomized algorithms. Effective Quadratures is actively being developed by researchers at the [University of Cambridge](, [Imperial College London](, [Stanford University](, [The University of Utah](, [The Alan Turing Institute]( and the [University of Cagliari]( equadratures is a NumFOCUS affiliated project.

Key words associated with this code: polynomial surrogates, polynomial chaos, polynomial variable projection, Gaussian quadrature, Clenshaw Curtis, polynomial least squares, compressed sensing, gradient-enhanced surrogates, supervised learning.

## Code

The latest version of the code is v9.1.0 Narwhal, released June 2021.

![]( [![](]( [![](]( [![](]( [![](]( ![]( ![]( [![](](

If you use pip you can install the code with:

`python pip install equadratures `

or pip can be replaced with python -m pip, where python is the python version you wish to install equadratures for. Use of a virtual enviroment such as [virtualenv]( or [pyenv]([pipenv]( is also encouraged. Alternatively you can click either on the Fork Code button or Clone, and install from your local version of the code.

For issues with the code, please do raise an issue on our Github page; do make sure to add the relevant bits of code and specifics on package version numbers. We welcome contributions and suggestions from both users and folks interested in developing the code further.

Our code is designed to require minimal dependencies; current package requirements include numpy, scipy and matplotlib.

## Documentation, tutorials, Discourse

Code documentation and details on the syntax can be found [here](

We’ve recently started a Discourse forum! Check it out [here](

## Code objectives

Specific goals of this code include:

  • probability distributions and orthogonal polynomials
  • supervised machine learning: regression and compressive sensing
  • numerical quadrature and high-dimensional sampling
  • transforms for correlated parameters
  • computing moments from models and data-sets
  • sensitivity analysis and Sobol’ indices
  • data-driven dimension reduction
  • ridge approximations and neural networks
  • surrogate-based design optimisation

## Get in touch

Feel free to follow us via [Twitter]( or email us at

## Community guidelines

If you have contributions, questions, or feedback use either the Github repository, or get in touch. We welcome contributions to our code. In this respect, we follow the [NumFOCUS code of conduct](

## Acknowledgments

This work was supported by wave 1 of The UKRI Strategic Priorities Fund under the EPSRC grant EP/T001569/1, particularly the [Digital Twins in Aeronautics]( theme within that grant, and [The Alan Turing Institute](

Project details

Download files

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

Files for equadratures, version
Filename, size File type Python version Upload date Hashes
Filename, size equadratures- (312.1 kB) File type Egg Python version Upload date Hashes View
Filename, size equadratures- (135.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size equadratures- (110.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page