A helper package to conduct multiverse analyses in Python
Project description
multiversum
multiversum is a package designed to make it easy to conduct multiverse analyses in Python. The package is intended to seemlessly integrate into a normal analysis or ML workflow and can also be added to an existing pipeline.
Installation
Install this library using pip:
pip install multiversum
Usage
The package always works with two different files: The multiversum.toml ✨️, specifying the different dimensions (and their options) and the universe.ipynb ⭐️ containing the actual analysis code. The universe file is then evaluated (in parallel) using different dimension-combinations.
An example using a machine learning workflow in scikit-learn can be found here.
Development
To contribute to this library, first checkout the code. Then create a new virtual environment:
cd multiversum
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
python -m pip install -e '.[test]'
To run the tests:
python -m pytest
Formatting
Ruff is used for formatting and linting. Formatting can be automatically checked / applied wherever possible via ruff check . --fix && ruff format.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for multiversum-0.1.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | c10bacbf8b5e26fb5d619bf10a5bddb632977c6bf33eea0078386f5bf2cb58bd |
|
| MD5 | 7adb04d095cb3cbf2bf3b31608003ec3 |
|
| BLAKE2b-256 | df517e1724699c8f833225f73d35e0b59ae84864a211f733629128cb7e0d2e1b |