Skip to main content

This package has two interfaces:

  1. score_vocab(): Given text (T), vocab (V), outcome(s) Y, and confound(s) (C), this method will score each element of the vocab according to how well it explains each Y, controlling for all of the C’s.

  2. evaluate_vocab(): Measure’s the strength of a vocab’s causal effects on Y (controlling for C).

(c) Reid Pryzant 2019 https://cs.stanford.edu/~rpryzant/ May be used and distributed under the MIT license.

Metadata

Release files for causal-attribution 1.1

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

Source distribution (sdist)

Source distribution for causal-attribution 1.1
File Size Uploaded Provenance
causal_attribution-1.1.tar.gz 9.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for causal-attribution 1.1
File Interpreter ABI Platform
causal_attribution-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.6 kB

Release files / causal_attribution-1.1.tar.gz

Download URL causal_attribution-1.1.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d659a61b8eaaaed3f5a178e8b4dbabe48f9517e3ef88c321e3780bb3d7473be8
BLAKE2b-256 checksum
How to use checksums
eac0ae3d77ec4a8087be751ef741ca4c25bd1394108ff74cac1a747c2f79221d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

Release files / causal_attribution-1.1-py3-none-any.whl

Download URL causal_attribution-1.1-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faa55d9eddca5017524de9116dc5693489866cda80c9478bb4e8a96538867c9f
BLAKE2b-256 checksum
How to use checksums
241503e9c66654a71b29598ec187dcb9fc9fee694d92815893649defbffd2f89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

Security for causal-attribution 1.1

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.1 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