Skip to main content

sparseSpACE - the Sparse Grid Spatially Adaptive Combination Environment implements different variants of the spatially adaptive combination technique

Project description

GitHub GitHub Workflow Status Coveralls

sparseSpACE - The Sparse Grid Spatially Adaptive Combination Environment

This python projects implements different variants of the spatially adaptive Combination Technique. It was first targeted to solve high dimensional numerical integration with the spatially adaptive Combination Technique but it now supports the implementation of arbitrary grid operations. It supports already numerical integration, interpolation, Uncertainty Quantification, Sparse Grid Density Estimation (with classificationa nd clustering), regression, and PDE calculations. The github page can be found here.

Installation

Install from PyPI using

pip install sparseSpACE

or (Linux example):

git clone https://github.com/obersteiner/sparseSpACE.git
cd sparseSpACE
pip install -e .

Tutorials

A short introduction in how to use the framework can be found in the ipynb tutorials (see ipynb folder at https://github.com/obersteiner/sparseSpACE.git):

  • Tutorial.ipynb
  • Grid_Tutorial.ipynb
  • Extend_Split_Strategy_Tutorial.ipynb
  • Tutorial_DensityEstimation.ipynb
  • Tutorial_DEMachineLearning.ipynb
  • Tutorial_Extrapolation.ipynb
  • Tutorial_UncertaintyQuantification.ipynb
  • Tutorial_Regression.ipynb

Plotting

The framework also supports various options for plotting the results. Examples can be found in the ipynb/Diss folder and in the Tutorials.

Software requirements

These software requirements are automatically installed when using pip. But as a reference we list here the necessary libraries and versions (see requirements.txt):

  • python3 (3.5 or higher)
  • scipy (1.1.0 or higher)
  • numpy
  • matplotlib
  • ipython3 (for Tutorials)
  • ipython3 notebooks or jupyter notebook (for Tutorials)
  • chaospy (for UQ)
  • scikit-learn (for SGDE)
  • dill (for saving/loading the current state of the refinement to/from a file)
  • sympy (1.6 or higher)

Development

For development clone the repository from github and use the configure script which will install the library in modifiable mode and apply the git hooks used for the project.

./configure 

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

sparseSpACE-1.1.0.tar.gz (191.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sparseSpACE-1.1.0-py3-none-any.whl (183.0 kB view details)

Uploaded Python 3

File details

Details for the file sparseSpACE-1.1.0.tar.gz.

File metadata

  • Download URL: sparseSpACE-1.1.0.tar.gz
  • Upload date:
  • Size: 191.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for sparseSpACE-1.1.0.tar.gz
Algorithm Hash digest
SHA256 365e246e37440df5f17ce47b85f795beba77aee5358af35d3f82b7d88eaa7bf0
MD5 41c4adf6adb7f8ac639f59eb780ace43
BLAKE2b-256 84a0908ecd7abac8a8bc66d84e1d84dbecc39f424a256925d7065802de964217

See more details on using hashes here.

File details

Details for the file sparseSpACE-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sparseSpACE-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 183.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for sparseSpACE-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58b18e73f7fd98c38d53b580970e372ca46b7080a3819cbe44b33f76089a72d9
MD5 f9ef1ffdc701aa81ac7a226f3cf7d464
BLAKE2b-256 ad7e54a7c8c80a1001b55f4f1c1fb910f5ed47a332bb9607924158e864c3ed13

See more details on using hashes here.

Supported by

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