Skip to content
Repository for ICWSM 2018 paper on hostility on Instagram
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
Replication.ipynb
emoji_function.py
forecast_comments.pdf
forecast_time.pdf
intensity_threshold.pdf
requirements.txt
u.py

README.md

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

You can’t perform that action at this time.