Skip to main content

Select and score features for causal inferences.

Project description

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.

Project details


Release history Release notifications

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for causal-attribution, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size causal_attribution-1.1-py3-none-any.whl (11.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size causal_attribution-1.1.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page