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
causal_attribution-1.1.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for causal_attribution-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faa55d9eddca5017524de9116dc5693489866cda80c9478bb4e8a96538867c9f |
|
MD5 | 32a5c8f7e277d4be22170fa065a44b01 |
|
BLAKE2b-256 | 241503e9c66654a71b29598ec187dcb9fc9fee694d92815893649defbffd2f89 |