Skip to main content

Deep Nonlinear Causality (deepcausality)

Author: Dr. Abdullah Mohammad Ghazi Al khatib
Affiliation: Al Sham Private University
Email: genius.275@hotmail.com
GitHub: https://github.com/ABDULLAH-AL-KHATIB
Release Date: 17-08-2026


Overview

A Python framework for discovering multivariate, non-linear Granger causality and conditional causality in complex dynamical systems using Deep Learning (LSTM, GRU, CNN, MLP) and Machine Learning (RF, XGBoost, LightGBM, Kernel Ridge).

Installation

pip install deep-nonlinear-causality[all]

Quick Start

import numpy as np
from deepcausality import CausalityTest

n = 500
X = np.random.randn(n, 2)
Y = np.zeros(n)
for t in range(2, n):
    Y[t] = 0.4 * Y[t-1] + 0.3 * (X[t-1, 0]**2) + np.random.normal(0, 0.05)

engine = CausalityTest(random_state=42)
res = engine.run_test(Y, X, lag=2, model_type='mlp', n_permutations=50)
print(f'Is Causal: {res["is_causal"]}, p-value: {res["p_value"]:.4f}')

License

MIT License. Copyright (c) 2026 Dr. Abdullah Mohammad Ghazi Al khatib.

Metadata

Release files for deep-nonlinear-causality 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deep-nonlinear-causality 1.0.0
File Size Uploaded Provenance Actions
deep_nonlinear_causality-1.0.0.tar.gz 6.6 kB Without provenance Details for deep_nonlinear_causality-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deep-nonlinear-causality 1.0.0
File Interpreter ABI Platform Actions
deep_nonlinear_causality-1.0.0-py3-none-any.whl Python 3 none any Details for deep_nonlinear_causality-1.0.0-py3-none-any.whl

Total release size: 14.0 kB

Release files / deep_nonlinear_causality-1.0.0.tar.gz

Download URL deep_nonlinear_causality-1.0.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
97014505691939d6fd41c08345539796dd013262bd1b68b9ad4f0b0540c1425e
BLAKE2b-256 checksum
How to use checksums
4ea950558603abb39fa8e68a6fecc75bb2613807b122ca6e5530853780a154fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / deep_nonlinear_causality-1.0.0-py3-none-any.whl

Download URL deep_nonlinear_causality-1.0.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
692a711421d46c7f6bce4c5eb58409705d065237fb353b3c63fbb191fc007506
BLAKE2b-256 checksum
How to use checksums
85db55931e28ed0f91c7cbde8e7ddae2d87e3d15c74ce58d05481b0a195e6917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for deep-nonlinear-causality 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page