Science Score: 44.0%

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

  • CITATION.cff file
    Found 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 (8.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: viprunglamthu12
  • License: other
  • Language: Python
  • Default Branch: main
  • Size: 4.99 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 10 months ago · Last pushed 10 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

CausalNex


| Theme | Status | |------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Latest Release | PyPI version | | Python Version | Python Version | | master Branch Build | CircleCI | | develop Branch Build | CircleCI | | Documentation Build | Documentation | | License | License | | Code Style | Code Style: Black |

What is CausalNex?

"A toolkit for causal reasoning with Bayesian Networks."

CausalNex aims to become one of the leading libraries for causal reasoning and "what-if" analysis using Bayesian Networks. It helps to simplify the steps: - To learn causal structures, - To allow domain experts to augment the relationships, - To estimate the effects of potential interventions using data.

Why CausalNex?

CausalNex is built on our collective experience to leverage Bayesian Networks to identify causal relationships in data so that we can develop the right interventions from analytics. We developed CausalNex because:

  • We believe leveraging Bayesian Networks is more intuitive to describe causality compared to traditional machine learning methodology that are built on pattern recognition and correlation analysis.
  • Causal relationships are more accurate if we can easily encode or augment domain expertise in the graph model.
  • We can then use the graph model to assess the impact from changes to underlying features, i.e. counterfactual analysis, and identify the right intervention.

In our experience, a data scientist generally has to use at least 3-4 different open-source libraries before arriving at the final step of finding the right intervention. CausalNex aims to simplify this end-to-end process for causality and counterfactual analysis.

What are the main features of CausalNex?

The main features of this library are:

  • Use state-of-the-art structure learning methods to understand conditional dependencies between variables
  • Allow domain knowledge to augment model relationship
  • Build predictive models based on structural relationships
  • Fit probability distribution of the Bayesian Networks
  • Evaluate model quality with standard statistical checks
  • Simplify how causality is understood in Bayesian Networks through visualisation
  • Analyse the impact of interventions using Do-calculus

How do I install CausalNex?

CausalNex is a Python package. To install it, simply run:

bash pip install causalnex

Use all for a full installation of dependencies: bash pip install "causalnex[all]"

See more detailed installation instructions, including how to setup Python virtual environments, in our installation guide and get started with our tutorial.

How do I use CausalNex?

You can find the documentation for the latest stable release here. It explains:

Note: You can find the notebook and markdown files used to build the docs in docs/source.

Can I contribute?

Yes! We'd love you to join us and help us build CausalNex. Check out our contributing documentation.

How do I upgrade CausalNex?

We use SemVer for versioning. The best way to upgrade safely is to check our release notes for any notable breaking changes.

How do I cite CausalNex?

You may click "Cite this repository" under the "About" section of this repository to get the citation information in APA and BibTeX formats.

What licence do you use?

See our LICENSE for more detail.

We're hiring!

Do you want to be part of the team that builds CausalNex and other great products at QuantumBlack? If so, you're in luck! QuantumBlack is currently hiring Machine Learning Engineers who love using data to drive their decisions. Take a look at our open positions and see if you're a fit.

Owner

  • Login: viprunglamthu12
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you'd like to cite CausalNex, please use the following metadata"
authors:
- family-names: "Beaumont"
  given-names: "Paul"
- family-names: "Horsburgh"
  given-names: "Ben"
- family-names: "Pilgerstorfer"
  given-names: "Philip"
- family-names: "Droth"
  given-names: "Angel"
- family-names: "Oentaryo"
  given-names: "Richard"
- family-names: "Ler"
  given-names: "Steven"
- family-names: "Nguyen"
  given-names: "Hiep"
- family-names: "Ferreira"
  given-names: "Gabriel Azevedo"
- family-names: "Patel"
  given-names: "Zain"
- family-names: "Leong"
  given-names: "Wesley"
title: "CausalNex"
date-released: 2021-10-15
url: "https://github.com/quantumblacklabs/causalnex"

GitHub Events

Total
  • Push event: 3
  • Create event: 2
Last Year
  • Push event: 3
  • Create event: 2

Dependencies

doc_requirements.txt pypi
  • Markupsafe <2.1
  • click >=7.0,<8.0
  • ipykernel >=4.8.1,<5.0
  • ipython_genutils >=0.2.0
  • jinja2 >=3.0,<3.1
  • jupyter_client >=5.1,<7.0
  • mistune >=2.0.3,<3.0
  • nbconvert >=6.3.0,<8.0
  • nbsphinx ==0.5.0
  • nbstripout ==0.3.3
  • patchy >=1.5,<2.0
  • pydot >=1.4,<2.0
  • pygments >=2.6.1,<3.0
  • recommonmark >=0.5.0,<1.0
  • sphinx >=3.0.4,<4.0
  • sphinx-autodoc-typehints >=1.6.0,<2.0
  • sphinx-markdown-tables >=0.0.15,<1.0
  • sphinx_copybutton >=0.2.5,<1.0
  • sphinx_rtd_theme >=0.4.3,<1.0
  • tornado >=6.3.2
requirements.txt pypi
  • ipython >=8.10.0
  • networkx >=2.5
  • numpy >=1.14.2,<1.24
  • pandas >=1.0,<2.0
  • pathos >=0.2.7
  • pgmpy >=0.1.14,<0.1.20
  • pyvis >=0.3.2
  • scikit-learn >=0.22.0,
  • scikit-learn >=0.24.0,
  • scikit-learn >=0.25.0
  • scipy >=1.7
  • setuptools >=65.5.1
  • torch >=1.7
  • wheel >=0.38.0
setup.py pypi
test_requirements.txt pypi
  • Cython >=0.29,<1.0 test
  • flake8 >=3.5,<4.0 test
  • fonttools * test
  • isort >=4.3.16,<5.0 test
  • matplotlib * test
  • mdlp-discretization * test
  • mock >=2.0.0,<3.0 test
  • pillow >=10.2.0 test
  • pre-commit >=2.9.2 test
  • pylint >=2.7.2,<3.0 test
  • pytest >=4.3.0,<6.0 test
  • pytest >=6.2.5 test
  • pytest-cov >=2.5,<3.0 test
  • pytest-mock >=1.7.1,<2.0 test