Skip to content

ClaraBing/AI4ALL2018

 
 

Repository files navigation

Tweet Classification for Disaster Relief

This is the homepage for the AI4ALL 2018 NLP research project. Here you can find links to all class materials used for the research project.

Instructors: Rob Voigt ([email protected]), Bingbin Liu ([email protected])

Slides

Presentation

Other materials

Instructions for running the notebooks

We will go through this together on July 3rd, but feel free to start on your own! :)

  1. Install Anaconda.

    Anaconda is a python distribution that makes it really easy to install additional python packages and manage different Python versions. You can download Anaconda from https://www.anaconda.com/download/. Make sure to download the Python 3.6 version! This should also automatically install Jupyter notebook, which you'll need to run the notebooks.

  2. Install numpy and nltk:

    Open a Terminal window and type

    conda install nltk numpy pandas
    
  3. Copy ("clone") the GitHub repository to your computer:

    Open a Terminal window and type

    git clone https://github.com/ClaraBing/AI4ALL2018
    

    This will copy all the notebooks to your computer.

  4. Change into the directory:

    In the same Terminal window, type

    cd AI4ALL2018
    
  5. Download the tokenizer models:

    Start a Python console by typing python in the Terminal window. Then run the following commands:

    import nltk
    nltk.download("punkt")
    exit()
    
  6. Run the jupyter notebook:

    jupyter notebook
    

Accessing the completed versions of the notebooks

The directory filled contains versions of the iPython notebooks with the solutions filled in, which will be released at the end of each day. If you would like to run these, you need to copy them to the main directory (i.e. AI4ALL2018), overwriting the blank versions of the notebooks that are currently there. Then run jupyter notebook and you should be able to access the completed versions of the notebooks.

About

Code for AI4ALL 2018 NLP project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.9%
  • Python 2.1%