https://github.com/bandframework/surmise
A python package for surrogate models that interface with calibration and other tools
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.1%) to scientific vocabulary
Keywords
bayesian-calibration
gaussian-processes
surrogate-models
Last synced: 9 months ago
·
JSON representation
Repository
A python package for surrogate models that interface with calibration and other tools
Basic Info
- Host: GitHub
- Owner: bandframework
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://surmise.readthedocs.io/en/latest/
- Size: 193 MB
Statistics
- Stars: 13
- Watchers: 1
- Forks: 7
- Open Issues: 23
- Releases: 6
Topics
bayesian-calibration
gaussian-processes
surrogate-models
Created over 5 years ago
· Last pushed 10 months ago
Metadata Files
Readme
Changelog
Contributing
License
Support
README.rst
|
.. image:: https://badge.fury.io/py/surmise.svg
:target: https://badge.fury.io/py/surmise
.. image:: https://readthedocs.org/projects/surmise/badge/?version=latest
:target: https://surmise.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://github.com/bandframework/surmise/actions/workflows/python-installation.yml/badge.svg
:target: https://github.com/bandframework/surmise/actions/workflows/python-installation.yml
.. image:: https://coveralls.io/repos/github/bandframework/surmise/badge.svg
:target: https://coveralls.io/github/bandframework/surmise
|
.. after_badges_rst_tag
===========================
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
(**TBC**). 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-.whl
.. note::
Currently surmise on Windows system is built and tested with MinGW, in order to support the GCC compiler.
The expectation is that other Windows build environments are compatible as well.
Testing
~~~~~~~
An automated test suite is integrated into the package so that users can
directly test their installation by executing::
$ python
>>> import surmise
>>> surmise.__version__
>>> surmise.test()
The pytest output should indicate clearly if all tests passed or provide
information related to any failures otherwise.
Documentation
~~~~~~~~~~~~~
The documentation is stored in ``docs/`` and is hosted at `Read the Docs `_.
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:
.. code-block:: bibtex
@techreport{surmise2024,
author = {Matthew Plumlee and \"Ozge S\"urer and Stefan M. Wild and Moses Y-H. Chan},
title = {{surmise 0.3.0} Users Manual},
institution = {NAISE},
number = {Version 0.3.0},
year = {2024},
url = {https://surmise.readthedocs.io}
}
Examples
~~~~~~~~
We provide examples in the ``examples/`` directory to illustrate the basic usage
of surmise.
In addition, for a gentle introduction of emulation and calibration using Gaussian processes, visit
`surmise Jupyter notebook`_.
.. _NumPy: http://www.numpy.org
.. _pytest: https://pypi.org/project/pytest/
.. _Python: http://www.python.org
.. _SciPy: http://www.scipy.org
.. _Setuptools: https://setuptools.pypa.io
.. _`surmise Jupyter notebook`: https://colab.research.google.com/drive/1f4gKTCLEAGE8r-aMWOoGvY-O6zNqg1qj?usp=drive_link
.. _PyPI-wheel: https://pypi.org/project/surmise/#files
.. _scikit-learn: https://scikit-learn.org/stable/install.html
.. _dill: https://dill.readthedocs.io
Owner
- Name: BAND
- Login: bandframework
- Kind: organization
- Website: bandframework.github.io/
- Repositories: 4
- Profile: https://github.com/bandframework
GitHub Events
Total
- Create event: 8
- Issues event: 11
- Watch event: 2
- Delete event: 2
- Issue comment event: 18
- Push event: 87
- Pull request review comment event: 1
- Pull request review event: 2
- Pull request event: 10
- Gollum event: 35
Last Year
- Create event: 8
- Issues event: 11
- Watch event: 2
- Delete event: 2
- Issue comment event: 18
- Push event: 87
- Pull request review comment event: 1
- Pull request review event: 2
- Pull request event: 10
- Gollum event: 35
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 9
- Total pull requests: 7
- Average time to close issues: 5 months
- Average time to close pull requests: 3 days
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.78
- Average comments per pull request: 2.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 8
- Pull requests: 7
- Average time to close issues: 1 day
- Average time to close pull requests: 3 days
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.25
- Average comments per pull request: 2.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mosesyhc (16)
- jared321 (10)
- MattPlumlee (1)
- cbaillar (1)
- wildsm (1)
Pull Request Authors
- mosesyhc (25)
- jared321 (6)
- wildsm (1)
Top Labels
Issue Labels
post-v0.2 (5)
documentation (3)
maintenance (3)
enhancement (3)
bug (3)
help wanted (2)
pendantic (1)
Pull Request Labels
enhancement (3)
maintenance (3)
Packages
- Total packages: 1
-
Total downloads:
- pypi 249 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 5
- Total maintainers: 2
pypi.org: surmise
A modular interface for surrogate models and tools
- Documentation: https://surmise.readthedocs.io/
- License: MIT License Copyright (c) 2023 The Surmise Development Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
Latest release: 0.3.0
published almost 2 years ago
Rankings
Dependent packages count: 10.1%
Forks count: 14.2%
Average: 16.6%
Stargazers count: 17.7%
Downloads: 19.4%
Dependent repos count: 21.5%
Last synced:
10 months ago
Dependencies
.github/workflows/python-package.yml
actions
- actions/checkout v3 composite
- actions/setup-python v4 composite
docs/requirements.txt
pypi
- ipykernel *
- sphinx ==3.4.3
- sphinxcontrib-bibtex *
pyproject.toml
pypi
- numpy >=1.18.3
- scipy >=1.7
requirements.txt
pypi
- numpy >=1.18.3
- scikit-learn *
- scipy >=1.7
setup.py
pypi
- numpy >=1.18.3
- scipy >=1.7