cbayes

Python library implementing the Consistent Bayes framework for stochastic inverse problems

https://github.com/mpilosov/consistentbayes

Science Score: 20.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.1%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Python library implementing the Consistent Bayes framework for stochastic inverse problems

Basic Info
  • Host: GitHub
  • Owner: mpilosov
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 18.2 MB
Statistics
  • Stars: 3
  • Watchers: 3
  • Forks: 4
  • Open Issues: 2
  • Releases: 0
Created over 8 years ago · Last pushed about 5 years ago
Metadata Files
Readme License

README.md

Build Status Binder

Consistent Bayes Toolbox

This library is meant to provide a user-friendly implementation of the Consistent Bayesian framework for solving Stochastic Inverse Problems.


Installation Instructions

Easiest way: execute ./fresh_install.sh

This will create a new python kernel for you and link it to jupyter notebook.
It will be called test_py_env. This file is a wrapper around the instructions that follow. You can activate this and have access to all the cbayes packages and dependencies with source activate test_py_env

If you create a fresh Anaconda environment with
conda create -n py3b python=3.6 -y; source activate YourEnvironmentName
or simply using your existing python distribution (run which python), you can execute python setup.py install in the main ConsistentBayes directory to install all dependencies.

You will have to link your kernel to jupyter if you want to use the notebooks. Additionally, if you want to use widgets (interactive workbooks with sliders), you can check the series of commands listed in the file fresh_install.sh to ensure you have done so correctly.

You can verify that everything is working as expected by executing the unit tests by running nosetests from the parent directory.

Please make sure to run nosetests before making any commits if you plan to contribute pull requests.


Getting Started

It is suggested that you start with the examples/CBayes.ipynb file.
Then examples/CBPaper_Examples walks through Example 6.1 and 6.2 from the seminal paper on this work, cited below.

These notebook walks you through the method and several example files equipped with rich interactive multi-dimensional visualizations.
A non-interactive python script that carries out the same computations can be found in examples/consistentbayes_example.py Some notebooks that have PDE solvers use the python package progressbar, which you can install with pip (it is not a main dependency so it is not installed by setup.py, or simply remove the use of bar in the for-loop of the PDE solver code in the notebook.

See the examples/ directory for both script and jupyter-notebook files demonstrating how to solve stochastic inverse problems in the Consistent Bayesian framework, which was developed in tandem by: - Dr. Troy Butler, CU Denver Dept. of Mathematics & Statistical Sciences - Dr. Timothy Wildey, Sandia National Laboratories - Dr. Scott Walsh, and - Michael Pilosov, MS, CU Denver Dept. of Mathematics & Statistical Sciences

You can find general overview in the explanations presented in the jupyter notebooks.

For more detail, please see this draft on arxiv pending publication


Author: Michael Pilosov
Updated: 6/20/2018 ConsistentBayes.com


This software was released under an MIT open-source license. It is provided AS IS and with NO WARRANTY OR GAURANTEE.
Please see LICENSE for more information.

Owner

  • Name: Michael Pilosov
  • Login: mpilosov
  • Kind: user
  • Location: Denver, CO
  • Company: CU Denver

PhD Applied Mathematics, CU Denver, 2020. This account houses historical and automated projects. Primary dev account: @mathematicalmichael

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 357
  • Total Committers: 4
  • Avg Commits per committer: 89.25
  • Development Distribution Score (DDS): 0.064
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Michael Pilosov m****v@u****u 334
Michael Pilosov c****s@g****m 15
Troy Butler b****d@g****m 6
Michael Pilosov 4****l 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 3
  • Total pull requests: 5
  • Average time to close issues: 30 minutes
  • Average time to close pull requests: 6 months
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.4
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mpilosov (3)
Pull Request Authors
  • mpilosov (3)
  • mathematicalmichael (2)
Top Labels
Issue Labels
enhancement (2) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 193 last-month
  • Total docker downloads: 57
  • Total dependent packages: 0
  • Total dependent repositories: 2
  • Total versions: 34
  • Total maintainers: 1
pypi.org: cbayes

Consistent Bayesian Inversion

  • Versions: 34
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 193 Last month
  • Docker Downloads: 57
Rankings
Docker downloads count: 3.1%
Dependent packages count: 10.0%
Dependent repos count: 11.6%
Average: 14.4%
Forks count: 15.3%
Downloads: 18.4%
Stargazers count: 27.8%
Maintainers (1)
Last synced: 12 months ago

Dependencies

requirements.txt pypi
  • cbayes *
  • ipywidgets *
  • matplotlib *
  • nbinteract *
  • numpy *
setup.py pypi
  • scipy *