amaiya/causalnlp

CausalNLP is a practical toolkit for causal inference with text as treatment, outcome, or "controlled-for" variable.

47
/ 100
Emerging

This tool helps researchers, analysts, and data scientists understand cause-and-effect relationships from their data, especially when text is involved. You input a dataset containing text (like reviews or social media posts) along with other numerical or categorical variables, and it helps you determine the causal impact of a specific factor on an outcome. For example, it can tell you if positive reviews cause an increase in product clicks.

157 stars. Used by 1 other package. No commits in the last 6 months. Available on PyPI.

Use this if you need to measure the true impact of a decision, policy, or marketing campaign and your data includes unstructured text alongside traditional numbers.

Not ideal if you are only looking for correlations or simple predictive models without needing to establish causality, or if your primary focus is on deep learning text generation or complex linguistic analysis.

causal-analysis impact-measurement text-analytics marketing-effectiveness research-evaluation
Stale 6m
Maintenance 0 / 25
Adoption 11 / 25
Maturity 25 / 25
Community 11 / 25

How are scores calculated?

Stars

157

Forks

11

Language

Jupyter Notebook

License

Apache-2.0

Last pushed

Feb 06, 2025

Commits (30d)

0

Dependencies

15

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/amaiya/causalnlp"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.