TwitterSuicideML
Scripts for reproducing the Machine Learning analysis of the paper: Detecting Potentially Harmful and Protective Suicide-related Content on Twitter: Machine Learning Classification of Tweets
-
clone this repository: git clone https://github.com/HubertBaginski/TwitterSuicideML.git
-
Get the dataset with tweet text, and put it in the folder "data" within the repository folder. Option a: write to us to get the training dataset including the text of tweets: [email protected] Option b: rehydrate the tweets based on the tweet IDs in the dataset
-
Create a virtual environment "TwittersuicideML": conda create --name TwitterSuicideML
-
Activate the environments after all packages are installed: conda activate TwittersuicideML
-
Install all the packages we used, from within the repository folder: pip install -r requirements.txt
-
Open Jupyter Notebook or Juptyer Lab