Git Product home page Git Product logo

sbm's Introduction

SMB

Scalable Bayesian Modelling: An updated benchmark

For a detailed understanding of this work, its motivation and next steps, please refer to this blog post.

Setting up the environment

conda env create -f environment.yaml
conda activate sbm

Using the template

In the folder notebooks, you can find the file template.ipynb where you can add the code to get your data and models to create a benchmark for your specific use case. Cells preceded by the message โœ๐Ÿฝ User input required should be filled, the other cells can be optionally modified according to your needs.

The sampling results are saved by default in the path data/results.

The folder also has the file example.ipynb, with an example using the template.

Executing in Google Colab

The template can be executed in Google Colab. Before executing the code, follow these steps:

  1. Change runtime in Runtime > Change runtime type if you want to execute the notebook using GPU.
  2. Uncomment the first cell which makes sure Colab has the correct versions and required files.
  3. Set the variable output_path to data/results or to a folder you know exists in the environment.

sbm's People

Contributors

symeneses avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pmarkoo

sbm's Issues

Notebook is already great, some lights comments

As title says this is already really good. Some suggestions

  1. Add a quick readme at the top that says how to use this notebook.
  2. Great job with dist_validator
  • Maybe another thing is if handler returns a dictionary of infdata objects. It already might I'm just not sure
  1. Template is spelled wrong in the colab link causing a link failure

Can I share this with the pymc team? They may have suggestions as well

https://github.com/symeneses/SBM/blob/main/notebooks/template.ipynb

Clean template

The template contains now an example while we have a first version.
The example will be moved to a new notebook example when we have the instruction to use the template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.