Skip to content
A Machine Learning Law Match Maker
Jupyter Notebook HTML Python CSS Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
static enh: results sponsors are text #3 Mar 29, 2018
templates fix: typos Apr 3, 2018
.gitignore Add Sim_Instance /model files (3) to gitignore Mar 30, 2018
Makefile refr: cleanup Mar 30, 2018

LOC Challenge AI

a Machine Learning Law Match Maker

This application takes any text input and returns the most similar congressional bills using the machine learning WMD Similarity Model and Google's 2013 pretrained word embeddings

Application Installation

⏵ pip3 install --user --upgrade flask
⏵ git clone


⏵ cd loc_challenge_aim
⏵ env flask run

Or shortcut:

⏵ make run

Recreate This Work:

  1. Scrape GPO data (notebooks/1.0-whs-xmlExtract.ipynb)
  2. Save Data as CSV (data/1.3-billTitleSponsors.csv)
  3. Build and Train WMD Model (notebooks/1.0-whs-xmlExtract.ipynb)
  4. Save Model and Similarity Instance; three files (model/-gitignored-)
  5. Install and Run Application
You can’t perform that action at this time.