Skip to main content

Package for causal, scalable forecasting

Project description



divina: scalable and hyper-interpretable causal forecasting toolkit

Continuous Integration PyPI Latest Release Package Status License Coverage Downloads Code style: black Imports: isort

What is it?

divina is a Python package that provides scalable, interpretable and accurate forecasting capabilities designed to make causal forecasting modular, efficient and simple. It aims to be reduce the challenge of causal forecasting on datasets of any size to experiment configuration via JSON and, if the extensive set of pre-implemented models is insufficient, custom ensemble design via scikit-learn. More specifically, divina aims to raise the standard of functionality in forecasting by implementing two-way interpretability interfaces for all models.

Main Features

Here are just a few of the things that pandas does well:

  • Easy construction of parquet-based datasets that allow for efficient, scalable modelling and dynamic, JSON-driven definition of multi-dataset experiments.
  • Abstraction of granular experiment configuration such as cross-validation, regularization and metric selection to a single, simple JSON-based configuration file with sensible defaults.
  • Automatic persistence of all experiment artifacts, including models, predictions and validation metrics, to s3 for posterity, traceability and easy integration.
  • A user-centric, two-way interpretation interface that allows for granular interpretation of models and predictions while also allowing domain experts to override factors.

Where to get it

The source code is currently hosted on GitHub at: https://github.com/secrettoad/divina

Binary installers for the latest released version are available at the Python Package Index (PyPI)

pip install divina

Dependencies

License

BSD 3

Documentation

Robust documentation is currently in the works.

Background

Work on divina started at Coysu Consulting (a technology consulting firm) in 2020 and has been under active development since then.

Getting Help

For usage questions, the best place to go to is StackOverflow.

Discussion and Development

Most development discussions take place on GitHub in this repo.

Contributing to divina

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

If you are simply looking to start working with the divina codebase, navigate to the GitHub "issues" tab and start looking through interesting issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

divina-2021.9.3.tar.gz (256.5 kB view hashes)

Uploaded Source

Built Distribution

divina-2021.9.3-py3-none-any.whl (66.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page