This package has two interfaces:
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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| causal_attribution-1.1.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|