Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.91 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.91 KB

Forecasting the presence and intensity of hostility on Instagram using linguistic and social features

This notebook provides code to reproduce the primary figures and tables in the paper

Ping Liu, Joshua Guberman, Libby Hemphill, and Aron Culotta. "Forecasting the presence and intensity of hostility on Instagram using linguistic and social features." In Proceedings of the Twelfth International AAAI Conference on Web and Social Media (ICWSM'18)

Note that while all data used was publicly available, in order to respect user privacy and Instagram's terms of service, we are unfortunately unable to share publicly the raw data needed to replicate the results in this notebook.

Contents

To run using a virtualenv

To make sure you're using the same version of all dependencies, you can create a virtualenv and install all dependencies listed in requirements.txt prior to running the notebook.

  1. cd icwsm-2018-hostility Enter repository directory.
  2. virtualenv icwsm Create a new virtual environment in the directory icwsm.
  3. source icwsm/bin/activate Activate the environment.
  4. pip3 install -r requirements.txt (or just pip) Install all dependencies.
  5. jupyter notebook Replication.ipynb Start notebook

When you're done running the notebook, you can deactivate the virtualenv and remove the virtualenv directory

  1. deactivate
  2. rm -rf icwsm

Authors