surmise is a Python package that is designed to provide a surrogate model interface for calibration, uncertainty quantification, and sensitivity analysis.
Python | NumPy | SciPy |
---|---|---|
3.5 | 1.16, 1.17, 1.18 | 1.4 |
3.6 | 1.16, 1.17, 1.18, 1.19 | 1.4 |
3.7 | 1.16, 1.17, 1.18, 1.19 | 1.4 |
3.8 | 1.18, 1.19 | 1.4 |
3.9 | 1.20 | 1.6 |
Some examples require the optional dependency
From the command line, use the following command to install surmise:
pip install surmise==0.1.0
Alternatively, the source code can be downloaded to the local folder, and the package can be installed from the .tar file.
The test suite requires the pytest and pytest-cov packages to be installed
and can be run from the tests/
directory of the source distribution by running:
./run-tests.sh
If you have the source distribution, you can run the tests in the top-level directory containing the setup script with
python setup.py test
Further options are available for testing. To see a complete list of options, run:
./run-tests.sh -h
Coverage reports are produced under the relevant directory only if all tests are used.
The documentation is stored in docs/
and is compiled with the Sphinx Python
documentation generator. It is written in the reStructuredText format. These
files are hosted at Read the Docs.
To compile the documentation, first ensure that Sphinx is installed. Then, to
generate documentation, run command make html
from terminal within this directory as follows
cd docs make html
The HTML files are then stored in docs/_build/html
Citation:
- Please use the following to cite surmise in a publication:
@techreport{surmise2021,
author = {Matthew Plumlee and Özge Sürer and Stefan M. Wild},
title = {Surmise Users Manual},
institution = {NAISE},
number = {Version 0.1.0},
year = {2021},
url = {https://surmise.readthedocs.io}
}
We provide examples in the examples/
directory to illustrate the basic usage
of surmise.