Skip to main content

A modular interface for surrogate models and tools

Project description


https://badge.fury.io/py/surmise.svg https://github.com/bandframework/surmise/actions/workflows/python-installation.yml/badge.svg https://coveralls.io/repos/github/bandframework/surmise/badge.svg

Documentation Status https://github.com/bandframework/surmise/actions/workflows/publish_book.yml/badge.svg?branch=main https://jupyterbook.org/badge.svg

Introduction to surmise

surmise is a Python package that is designed to provide a surrogate model interface for calibration, uncertainty quantification, and sensitivity analysis.

Dependencies

surmise is built with NumPy, SciPy, scikit-learn, dill, and pytest. Please refer to the [_requires] sections of setup.py for more details.

Installation

From the command line, surmise can be installed by executing:

pip install surmise

The list of available .whl files can be found under PyPI-wheel. If a wheel file for your preferred platform is not listed, then surmise has to be built from source. There is C code in the package that will be compiled for your setup by setuptools during this process. Therefore, a valid C compiler must be installed beforehand. In such cases, the installation should be built automatically from the source distribution in PyPI when installed via pip. For those who prefer to work from a clone, please execute an appropriate version of:

git clone https://github.com/bandframework/surmise/
cd surmise
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
python -m pip install build
python -m build --wheel
python -m pip install dist/surmise-<version info>.whl

Testing

An automated test suite [1] is integrated into the package so that users can directly test their installation by executing:

$ python
>>> import surmise
>>> surmise.__version__
<version string>
>>> surmise.test()

The pytest output should indicate clearly if all tests passed or provide information related to any failures otherwise.

Documentation

The user and developer guides are stored in docs/ and are hosted at Read the Docs.

Examples are stored in book/ and are hosted online as a Jupyter book. In addition, for a gentle introduction of emulation and calibration using Gaussian processes, visit surmise Jupyter notebook.

Users and developers that would like to generate the documentation locally are encouraged to use tox, which automatically creates a dedicated, fully-functioning virtual environment for the task. Refer to the online developer’s guide (or docs/tox.rst) for help setting up tox and using it to generate documentation.

Citation:

  • Please use the following to cite surmise in a publication:

@techreport{surmise2025,
  author      = {Matthew Plumlee and \"Ozge S\"urer and Stefan M. Wild and Moses Y-H. Chan},
  title       = {{surmise 0.4.0} Users Manual},
  institution = {NAISE},
  number      = {Version 0.4.0},
  year        = {2025},
  url         = {https://surmise.readthedocs.io}
}

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

surmise-0.4.0.tar.gz (639.7 kB view details)

Uploaded Source

Built Distributions

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

surmise-0.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (864.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

surmise-0.4.0-cp313-cp313-macosx_11_0_arm64.whl (348.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

surmise-0.4.0-cp313-cp313-macosx_10_13_x86_64.whl (355.1 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

surmise-0.4.0-cp312-cp312-win_amd64.whl (348.7 kB view details)

Uploaded CPython 3.12Windows x86-64

surmise-0.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (864.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

surmise-0.4.0-cp312-cp312-macosx_11_0_arm64.whl (349.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

surmise-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl (356.8 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

surmise-0.4.0-cp311-cp311-win_amd64.whl (348.7 kB view details)

Uploaded CPython 3.11Windows x86-64

surmise-0.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (859.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

surmise-0.4.0-cp311-cp311-macosx_11_0_arm64.whl (349.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

surmise-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl (355.5 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

surmise-0.4.0-cp310-cp310-win_amd64.whl (348.6 kB view details)

Uploaded CPython 3.10Windows x86-64

surmise-0.4.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (817.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

surmise-0.4.0-cp310-cp310-macosx_11_0_arm64.whl (349.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

surmise-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl (355.6 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

surmise-0.4.0-cp39-cp39-win_amd64.whl (349.1 kB view details)

Uploaded CPython 3.9Windows x86-64

surmise-0.4.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (820.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

surmise-0.4.0-cp39-cp39-macosx_11_0_arm64.whl (349.9 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

surmise-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl (356.3 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file surmise-0.4.0.tar.gz.

File metadata

  • Download URL: surmise-0.4.0.tar.gz
  • Upload date:
  • Size: 639.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for surmise-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2ddf21df49809eba2c535c46660e8bac7ae4151c93fc319a206e7655184a4010
MD5 af4d14861ec86b90b6850e3d983a1b31
BLAKE2b-256 d90184890c1dcd08727271cad05507bd5baf8f6f2766a9d2c14375d79272ac11

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a5322ced498ba3ee321957c421c7449340ec72241976c370203ae52eb9899f70
MD5 066378cbc50cec9877ab5cb651dfb3cb
BLAKE2b-256 fd56606b232a588f47cacb696847129fe788bed09cd0cda7b7e1bacae01204e4

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 901439fe257fa17563777885146694510758394fea495964754240c0c7d185eb
MD5 760f03b1e3e3af4a5bd3701654e1ea8d
BLAKE2b-256 a844cc93fad2e6cfc6dd16ef0a361a709dd00911a9a545a051bed05b0e5c7c61

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7f265fe4448cef87f54ed17e7503754d66259409ef53dfab7e4112d561316753
MD5 3d12256bc44982d0fc075f55ad0905df
BLAKE2b-256 28cb3b40785db881a7952501ea8107c2a2657e64f26bda62196d1149bcbfcbde

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: surmise-0.4.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 348.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for surmise-0.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 be45f683b6da7024835123787ff3a5519e81ed396e78456848d8cc1b44a82b7d
MD5 b4af06f6234dfb24515c36936cede9d6
BLAKE2b-256 ac0d3b35213524d28733363307054c825011a2819149d690950f88570b54bf51

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd20a5f4b340b65e68355c4bddd11b5630ce609cd12cb984625a61971f876147
MD5 945ea96b6fb5dd39ba3f954de44f743d
BLAKE2b-256 0781f7e0efb536b917b057c403240eb084950f76bf2f84df992a7adc6b5dbe1d

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b2ab17f1ee571373eec36d4f1ac8568763cf9cb60cc073b12cf5eadf452233c
MD5 a4ee93f2a34de81742f12d3f37e3ecf3
BLAKE2b-256 f9785d743aba686768ea97eb830659f2fb632e737afa67f3cf7a557c553f3ce7

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 24c0a2e5d3531a5ff62e6f96bc9f2ee95fc38f0c41bf755fde31d51f52f60188
MD5 893c79725b2d6ad13d6c77f4abba0335
BLAKE2b-256 a4c720191d537ed747f42bb0f0b6743395b7ec70cd546784e266aa9050e3c341

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: surmise-0.4.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 348.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for surmise-0.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9569f85a4cb235351f8ad6663d9a527a0f276fbb0e7911aa144bb188580c0548
MD5 93cbc8c2bbf3ae3d059a418e5d1aeb3c
BLAKE2b-256 1591d9109b3bfd788eb669cdb4dc79dd77b7e62cf4ef297db944d82db5ff8f05

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 45b5d1bd6ff9116a391e3582197ba0214952d748df7c8568779576e2b416ddf7
MD5 6287eeacda5784306af08fa509d71c74
BLAKE2b-256 6818453caf1681f8c80c05c8c4dd377ee37a1df7b9affcf40455e88794b43276

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5dc5d7c429e0af46a824a9129abe49ee80e9d6c850d79bec23511a89a1c0caac
MD5 072f8acfcaea7362741c6a23dc141e3f
BLAKE2b-256 67fd9136712d19eae665baae1fd2bba53f3e32e757a85821da47453fb7fd0cf4

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3ea25fa436e14722413987098be9788f234c77441240a910ec9f278e86516fcf
MD5 c6a702307e8ffe6986bcd7cbf627a840
BLAKE2b-256 d58bfee1a804616cd4f9299a3b7f2452ee5caca8f180cacdfdc8acb8d853360b

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: surmise-0.4.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 348.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for surmise-0.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 81ec8242b9c4a036e29013cc5fcdd8f585d4964fba0ae1688b082141067ddf42
MD5 7e95e8f1e1d27245b1aaa4851c8e8c96
BLAKE2b-256 458a0f1fc7780d44df557342efb3e8017a6f7fff0595b63c5a68dae5e326ed38

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95ed5da81b5efd197c300b6304058dc527d27df1a82bd3ba5be4c541bc7e4aac
MD5 231501d8217ac2f2e7aa629ea49fecf3
BLAKE2b-256 a61df7a6ba00a7600bb463339be2f6f8512f2a2657c8bfb7e2d6f7839425027a

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a1cc02f6e2c08d0f0f13cacb954c083c2d15080ae9b762fc6a32907eb56be764
MD5 a123a7b3c5f611ef8875e2647824fce9
BLAKE2b-256 6a48acc040cd7f75fe6c2f080ce99f6971269c31e440180ade892e6cef36c357

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 454ce3fdb6a18f3b3055fa365624d9aae2153ff8c0df53aa43c655f59060f861
MD5 111f89ff116b00da8da8f2ae15e1826d
BLAKE2b-256 294e2272f3734fe4faf017f91d683a00aff28dfbb3a4a9e5d37b19bb523abf96

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: surmise-0.4.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 349.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for surmise-0.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 35af4947031609d150c987c0b5b5ab9b4a77d0bc7bdf255502de69fd4962a2dd
MD5 5f2c8d3dc2ac040544e10dfd9de1abc6
BLAKE2b-256 ddd5e26fc74490e2ef813ba5bdd5cf368623d46ac28e9c3523efdb0d64b3a278

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bf818591f3772bbe24d2cca1e7e9de3a4cb59bfeaa6dd69fd6476dfaaa9c2fe2
MD5 6dc296bcab996093b356e0f147bf71c8
BLAKE2b-256 13b39aa0f2da33ef49c4b44b4ea5af191412ee17a1a7a0fa76e7913783da0982

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c6826412d4cb2d83de8230f8d9404ce7c14f6bd2715506d7ce7bfe6e2f7595a
MD5 85bb4891f755733d2d9a900b4c90bccc
BLAKE2b-256 02e2f8c43e5dd5048bc40cec675008b1fe75434ed084b13a21d0af27c5b803e1

See more details on using hashes here.

File details

Details for the file surmise-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for surmise-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4863db6c30ce64de5490274714c16ba31fbee9db9f9f8e17169e52fb7bdfc4b8
MD5 cecdea1d6b35ee652f17f9749e4dd3ef
BLAKE2b-256 0ebb2cd874191d76dc9bf553c0107238cb60487712f0c5ffa8d356dcbd7d119c

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