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

TODOs
  • loss weighting

  • scheduling

  • layers changeable

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

Project details


Download files

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

Source Distribution

causal_selection-1.14.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

causal_selection-1.14-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page