Select and score features for causal inferences.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file causal_attribution-1.1.tar.gz
.
File metadata
- Download URL: causal_attribution-1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d659a61b8eaaaed3f5a178e8b4dbabe48f9517e3ef88c321e3780bb3d7473be8 |
|
MD5 | dd2c097fae40ef0fd81b788c48fd10e7 |
|
BLAKE2b-256 | eac0ae3d77ec4a8087be751ef741ca4c25bd1394108ff74cac1a747c2f79221d |
File details
Details for the file causal_attribution-1.1-py3-none-any.whl
.
File metadata
- Download URL: causal_attribution-1.1-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faa55d9eddca5017524de9116dc5693489866cda80c9478bb4e8a96538867c9f |
|
MD5 | 32a5c8f7e277d4be22170fa065a44b01 |
|
BLAKE2b-256 | 241503e9c66654a71b29598ec187dcb9fc9fee694d92815893649defbffd2f89 |