Skip to content

alexander-poon/represent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

represent

Applying Natural Language Processing to extract interesting features from legislation. Data from OpenStates.

Features will be used in the Swipe for Rights app, which will:

  • Allow users to express support/opposition to legislation
  • Help users understand the content of legislation
  • Provide actionable ways that users can respond to legislation

Components

  • Topic modeling with bill text
  • Predictive modeling for bill outcomes

Requirements

Setup

Create a conda environment and install required packages:

$ conda env create -f environment.yml

Activate the environment:

$ conda activate represent

This should be sufficient to run the scripts in py/ and notebooks in notebooks/.

Deactivate the conda environment:

$ conda deactivate

Remove the conda environment:

$ conda env remove --name represent